Skip to content

Commit

Permalink
Attempt to use setup-gradle from dependency-submission
Browse files Browse the repository at this point in the history
  • Loading branch information
bigdaz committed Jan 25, 2024
1 parent 3c5c811 commit bd13473
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions dependency-submission/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v4
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v0
uses: gradle/actions/dependency-submission@v3-beta
```
### Configuration parameters
Expand All @@ -50,7 +50,7 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v4
- name: Generate and save dependency graph
uses: gradle/actions/dependency-submission@v0
uses: gradle/actions/dependency-submission@v3-beta
with:
# Use a particular Gradle version instead of the configured wrapper.
gradle-version: 8.6-rc-2
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v4
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v0
uses: gradle/actions/dependency-submission@v3-beta
dependency-review:
needs: dependency-submission
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v4
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v0
uses: gradle/actions/dependency-submission@v3-beta
with:
dependency-graph-action: generate-and-save
```
Expand All @@ -148,7 +148,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Retrieve and submit dependency graph
uses: gradle/actions/dependency-submission@v0
uses: gradle/actions/dependency-submission@v3-beta
with:
dependency-graph-action: retrieve-and-submit # Download saved dependency-graph and submit
```
Expand Down
6 changes: 3 additions & 3 deletions dependency-submission/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ runs:
steps:
- name: Generate and submit dependency graph
if: ${{ inputs.dependency-graph-action == 'generate-and-submit' }}
uses: gradle/gradle-build-action@v3-beta
uses: gradle/actions/setup-gradle@v3-beta
with:
dependency-graph: 'generate-and-submit'
dependency-graph-continue-on-failure: false
Expand All @@ -49,7 +49,7 @@ runs:
:ForceDependencyResolutionPlugin_resolveAllDependencies
- name: Generate and save dependency graph
if: ${{ inputs.dependency-graph-action == 'generate-and-save' }}
uses: gradle/gradle-build-action@v3-beta
uses: gradle/actions/setup-gradle@v3-beta
with:
dependency-graph: generate-and-upload
dependency-graph-continue-on-failure: false
Expand All @@ -63,7 +63,7 @@ runs:
:ForceDependencyResolutionPlugin_resolveAllDependencies
- name: Download and submit dependency graph
if: ${{ inputs.dependency-graph-action == 'retrieve-and-submit' }}
uses: gradle/gradle-build-action@v3-beta
uses: gradle/actions/setup-gradle@v3-beta
with:
dependency-graph: download-and-submit
dependency-graph-continue-on-failure: false
Expand Down

0 comments on commit bd13473

Please # to comment.