Use fixed job name for cache restore

This commit is contained in:
daz 2024-04-12 00:38:28 -06:00
parent fb14e0ee5b
commit 5893d44739
No known key found for this signature in database

View file

@ -38,6 +38,8 @@ jobs:
dependency-graph: generate-and-upload dependency-graph: generate-and-upload
build-root-directory: .github/workflow-samples/groovy-dsl build-root-directory: .github/workflow-samples/groovy-dsl
cache-read-only: false cache-read-only: false
env:
GRADLE_BUILD_ACTION_CACHE_KEY_JOB: groovy-dependency-submission
groovy-restore-cache: groovy-restore-cache:
needs: [groovy-generate-and-upload] needs: [groovy-generate-and-upload]
@ -57,6 +59,8 @@ jobs:
with: with:
build-root-directory: .github/workflow-samples/groovy-dsl build-root-directory: .github/workflow-samples/groovy-dsl
additional-arguments: --offline additional-arguments: --offline
env:
GRADLE_BUILD_ACTION_CACHE_KEY_JOB: groovy-dependency-submission
groovy-download-and-submit: groovy-download-and-submit:
needs: [groovy-generate-and-upload] needs: [groovy-generate-and-upload]