Improve the cache keys to prevent clashes for the wrong type of build
This commit is contained in:
parent
3c07d0ff32
commit
afdce1e30c
5 changed files with 31 additions and 30 deletions
5
.github/workflows/javascript_builds.yml
vendored
5
.github/workflows/javascript_builds.yml
vendored
|
|
@ -29,9 +29,10 @@ jobs:
|
|||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ${{github.workspace}}/.scons_cache/
|
||||
key: ${{github.job}}-${{github.sha}}
|
||||
key: ${{github.job}}-${GITHUB_REF##*/}-${{github.sha}}
|
||||
restore-keys: |
|
||||
${{github.job}}-${{github.sha}}
|
||||
${{github.job}}-${GITHUB_REF##*/}-${{github.sha}}
|
||||
${{github.job}}-${GITHUB_REF##*/}
|
||||
${{github.job}}
|
||||
|
||||
# Additional cache for Emscripten generated system libraries
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue