Fix restore-configuration-cache test workflow

The sequential jobs in the workflow emulate repeated execution of the
same Job, so they work better if given the same job id.
This commit is contained in:
Daz DeBoer 2022-05-29 12:47:36 -06:00
parent c838a38ea1
commit 1ba2a63e58
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: DD6B9F0B06683D5D

View file

@ -14,7 +14,7 @@ env:
jobs: jobs:
seed-build-groovy: seed-build-groovy:
env: env:
GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: ${{ inputs.cache-key-prefix }}-groovy- GRADLE_BUILD_ACTION_CACHE_KEY_JOB: build-groovy
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, windows-latest, macos-latest] os: [ubuntu-latest, windows-latest, macos-latest]
@ -30,7 +30,7 @@ jobs:
verify-build-groovy: verify-build-groovy:
env: env:
GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: ${{ inputs.cache-key-prefix }}-groovy- GRADLE_BUILD_ACTION_CACHE_KEY_JOB: build-groovy
needs: seed-build-groovy needs: seed-build-groovy
strategy: strategy:
matrix: matrix:
@ -57,7 +57,7 @@ jobs:
# Check that the build can run when no extracted cache entries are restored # Check that the build can run when no extracted cache entries are restored
gradle-user-home-not-fully-restored: gradle-user-home-not-fully-restored:
env: env:
GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: ${{ inputs.cache-key-prefix }}-groovy- GRADLE_BUILD_ACTION_CACHE_KEY_JOB: build-groovy
needs: seed-build-groovy needs: seed-build-groovy
strategy: strategy:
matrix: matrix:
@ -78,7 +78,7 @@ jobs:
seed-build-kotlin: seed-build-kotlin:
env: env:
GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: ${{ inputs.cache-key-prefix }}-kotlin- GRADLE_BUILD_ACTION_CACHE_KEY_JOB: build-kotlin
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, windows-latest, macos-latest] os: [ubuntu-latest, windows-latest, macos-latest]
@ -94,7 +94,7 @@ jobs:
modify-build-kotlin: modify-build-kotlin:
env: env:
GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: ${{ inputs.cache-key-prefix }}-kotlin- GRADLE_BUILD_ACTION_CACHE_KEY_JOB: build-kotlin
needs: seed-build-kotlin needs: seed-build-kotlin
strategy: strategy:
matrix: matrix:
@ -112,7 +112,7 @@ jobs:
# Test restore configuration-cache from the third build invocation # Test restore configuration-cache from the third build invocation
verify-build-kotlin: verify-build-kotlin:
env: env:
GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: ${{ inputs.cache-key-prefix }}-kotlin- GRADLE_BUILD_ACTION_CACHE_KEY_JOB: build-kotlin
needs: modify-build-kotlin needs: modify-build-kotlin
strategy: strategy:
matrix: matrix: