Include github.run_attempt in test cache keys

This change to the integration tests should properly isolate multiple runs of the same job.
Previously, some jobs would fail if you attempted to re-run them via the UI, because the cache
entries would be re-used from the previous run.
This commit is contained in:
Daz DeBoer 2022-01-18 10:52:22 -07:00
parent 222b714890
commit 4f616f683a
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D
12 changed files with 17 additions and 17 deletions

View file

@ -7,7 +7,7 @@ on:
workflow_dispatch:
env:
GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: ${{github.workflow}}#${{github.run_number}}-
GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: ${{github.workflow}}#${{github.run_number}}:${{github.run_attempt}}-
GRADLE_USER_HOME: ${{github.workspace}}/custom/gradle/home
jobs: