mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-09-15 12:12:21 +08:00
Generate cache key based on Job invocation
Attempt to capture as much context as possible about the job run to generate a unique cache key. Unfortunately much of the matrix context is not available to the action implementation.
This commit is contained in:
2
.github/workflows/prod.yml
vendored
2
.github/workflows/prod.yml
vendored
@@ -7,7 +7,7 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
CACHE_KEY_SEED: ${{github.workflow}}#${{github.run_number}}-
|
||||
CACHE_KEY_PREFIX: ${{github.workflow}}#${{github.run_number}}-
|
||||
|
||||
jobs:
|
||||
# Run initial Gradle builds to push initial cache entries
|
||||
|
Reference in New Issue
Block a user