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

@@ -29,7 +29,7 @@ jobs:
uses: actions/cache@v3
with:
path: cache
key: build-web-cache-${{ secrets.CACHE_VERSION }}
key: build-web-cache
- name: 🐳 Inject /cache into docker
uses: reproducible-containers/buildkit-cache-dance@v2.1.2
@@ -59,7 +59,7 @@ jobs:
GH_TOKEN: ${{ github.token }}
run: |
gh extension install actions/gh-actions-cache
gh actions-cache delete "build-web-cache-${{ secrets.CACHE_VERSION }}" --confirm
gh actions-cache delete "build-web-cache" --confirm
deploy: