git: Remove CACHE_VERSION secret from cache keys (#1343)

Rationale: secrets (and vars) are not shared with pull requests, so they
can't use the cache

This PR fix that
This commit is contained in:
iTrooz
2023-10-04 22:23:41 +02:00
committed by GitHub
parent f982ff62e4
commit e14efc6ca2
4 changed files with 29 additions and 29 deletions

View File

@@ -25,8 +25,8 @@ jobs:
- name: 📜 Setup ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
key: ${{ runner.os }}-tests-${{ secrets.CACHE_VERSION }}-build-${{ github.run_id }}
restore-keys: ${{ runner.os }}-tests-${{ secrets.CACHE_VERSION }}-build
key: ${{ runner.os }}-tests-build-${{ github.run_id }}
restore-keys: ${{ runner.os }}-tests-build
max-size: 50M
@@ -35,7 +35,7 @@ jobs:
with:
path: |
build/CMakeCache.txt
key: ${{ runner.os }}-tests-${{ secrets.CACHE_VERSION }}-build-${{ hashFiles('**/CMakeLists.txt') }}
key: ${{ runner.os }}-tests-build-${{ hashFiles('**/CMakeLists.txt') }}
- name: ⬇️ Install dependencies
run: |