ci/macos: fix fallback cache key (#12188)

No wonder the macOS builds take so long…
This commit is contained in:
Benoit Pierre
2024-07-20 06:01:05 +00:00
committed by GitHub
parent df48d51eca
commit 8dad62aa1b

View File

@@ -103,7 +103,7 @@ jobs:
with:
path: /Users/runner/Library/Caches/ccache
key: ${{ env.CACHE_EPOCH }}-${{ runner.os }}-${{ runner.arch }}-ccache-${{ hashFiles('base/cache-key') }}
restore-keys: ${{ env.CACHE_EPOCH }}-${{ runner.os }}-ccache-
restore-keys: ${{ env.CACHE_EPOCH }}-${{ runner.os }}-${{ runner.arch }}-ccache-
- name: Install ccache
if: steps.build-restore.outputs.cache-hit != 'true'