1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Improve the cache keys to prevent clashes for the wrong type of build

This commit is contained in:
Gordon MacPherson
2020-07-24 00:15:23 +01:00
parent 3c07d0ff32
commit afdce1e30c
5 changed files with 31 additions and 30 deletions

View File

@@ -43,11 +43,11 @@ jobs:
uses: actions/cache@v2
with:
path: ${{github.workspace}}/.scons_cache/
key: ${{runner.os}}-template-${{github.sha}}
key: ${{github.job}}-${GITHUB_REF##*/}-${{github.sha}}
restore-keys: |
${{runner.os}}-template-${{github.sha}}
${{runner.os}}-template
${{runner.os}}
${{github.job}}-${GITHUB_REF##*/}-${{github.sha}}
${{github.job}}-${GITHUB_REF##*/}
${{github.job}}
# Use python 3.x release (works cross platform)
- name: Set up Python 3.x