Attempt to use setup-gradle from dependency-submission

This commit is contained in:
daz 2024-01-25 12:45:33 -07:00
parent 3c5c811777
commit bd134735f1
No known key found for this signature in database
2 changed files with 8 additions and 8 deletions

View file

@ -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
``` ```

View file

@ -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