mirror of
https://github.com/gradle/actions
synced 2024-11-23 18:02:13 +00:00
Attempt to use setup-gradle from dependency-submission
This commit is contained in:
parent
3c5c811777
commit
bd134735f1
2 changed files with 8 additions and 8 deletions
|
@ -26,7 +26,7 @@ jobs:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Generate and submit dependency graph
|
- name: Generate and submit dependency graph
|
||||||
uses: gradle/actions/dependency-submission@v0
|
uses: gradle/actions/dependency-submission@v3-beta
|
||||||
```
|
```
|
||||||
|
|
||||||
### Configuration parameters
|
### Configuration parameters
|
||||||
|
@ -50,7 +50,7 @@ jobs:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Generate and save dependency graph
|
- name: Generate and save dependency graph
|
||||||
uses: gradle/actions/dependency-submission@v0
|
uses: gradle/actions/dependency-submission@v3-beta
|
||||||
with:
|
with:
|
||||||
# Use a particular Gradle version instead of the configured wrapper.
|
# Use a particular Gradle version instead of the configured wrapper.
|
||||||
gradle-version: 8.6-rc-2
|
gradle-version: 8.6-rc-2
|
||||||
|
@ -88,7 +88,7 @@ jobs:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Generate and submit dependency graph
|
- name: Generate and submit dependency graph
|
||||||
uses: gradle/actions/dependency-submission@v0
|
uses: gradle/actions/dependency-submission@v3-beta
|
||||||
|
|
||||||
dependency-review:
|
dependency-review:
|
||||||
needs: dependency-submission
|
needs: dependency-submission
|
||||||
|
@ -126,7 +126,7 @@ jobs:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Generate and submit dependency graph
|
- name: Generate and submit dependency graph
|
||||||
uses: gradle/actions/dependency-submission@v0
|
uses: gradle/actions/dependency-submission@v3-beta
|
||||||
with:
|
with:
|
||||||
dependency-graph-action: generate-and-save
|
dependency-graph-action: generate-and-save
|
||||||
```
|
```
|
||||||
|
@ -148,7 +148,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Retrieve and submit dependency graph
|
- name: Retrieve and submit dependency graph
|
||||||
uses: gradle/actions/dependency-submission@v0
|
uses: gradle/actions/dependency-submission@v3-beta
|
||||||
with:
|
with:
|
||||||
dependency-graph-action: retrieve-and-submit # Download saved dependency-graph and submit
|
dependency-graph-action: retrieve-and-submit # Download saved dependency-graph and submit
|
||||||
```
|
```
|
||||||
|
|
|
@ -35,7 +35,7 @@ runs:
|
||||||
steps:
|
steps:
|
||||||
- name: Generate and submit dependency graph
|
- name: Generate and submit dependency graph
|
||||||
if: ${{ inputs.dependency-graph-action == 'generate-and-submit' }}
|
if: ${{ inputs.dependency-graph-action == 'generate-and-submit' }}
|
||||||
uses: gradle/gradle-build-action@v3-beta
|
uses: gradle/actions/setup-gradle@v3-beta
|
||||||
with:
|
with:
|
||||||
dependency-graph: 'generate-and-submit'
|
dependency-graph: 'generate-and-submit'
|
||||||
dependency-graph-continue-on-failure: false
|
dependency-graph-continue-on-failure: false
|
||||||
|
@ -49,7 +49,7 @@ runs:
|
||||||
:ForceDependencyResolutionPlugin_resolveAllDependencies
|
:ForceDependencyResolutionPlugin_resolveAllDependencies
|
||||||
- name: Generate and save dependency graph
|
- name: Generate and save dependency graph
|
||||||
if: ${{ inputs.dependency-graph-action == 'generate-and-save' }}
|
if: ${{ inputs.dependency-graph-action == 'generate-and-save' }}
|
||||||
uses: gradle/gradle-build-action@v3-beta
|
uses: gradle/actions/setup-gradle@v3-beta
|
||||||
with:
|
with:
|
||||||
dependency-graph: generate-and-upload
|
dependency-graph: generate-and-upload
|
||||||
dependency-graph-continue-on-failure: false
|
dependency-graph-continue-on-failure: false
|
||||||
|
@ -63,7 +63,7 @@ runs:
|
||||||
:ForceDependencyResolutionPlugin_resolveAllDependencies
|
:ForceDependencyResolutionPlugin_resolveAllDependencies
|
||||||
- name: Download and submit dependency graph
|
- name: Download and submit dependency graph
|
||||||
if: ${{ inputs.dependency-graph-action == 'retrieve-and-submit' }}
|
if: ${{ inputs.dependency-graph-action == 'retrieve-and-submit' }}
|
||||||
uses: gradle/gradle-build-action@v3-beta
|
uses: gradle/actions/setup-gradle@v3-beta
|
||||||
with:
|
with:
|
||||||
dependency-graph: download-and-submit
|
dependency-graph: download-and-submit
|
||||||
dependency-graph-continue-on-failure: false
|
dependency-graph-continue-on-failure: false
|
||||||
|
|
Loading…
Reference in a new issue