Revert "github: Remove commit ID from cache keys"

Without commit ID, no new caches are created as the key is always the
same.

This reverts commit 60f4c86780.
This commit is contained in:
Tobias Brunner
2026-04-21 11:05:19 +02:00
parent 60f4c86780
commit e0fb06c9cc
7 changed files with 30 additions and 12 deletions
+3 -1
View File
@@ -39,7 +39,9 @@ jobs:
- uses: actions/cache@v5
with:
path: ~/Library/Caches/ccache
key: ccache-${{ runner.os }}
key: ccache-${{ runner.os }}-${{ github.sha }}
restore-keys: |
ccache-${{ runner.os }}-
# workaround for conflict between Python installed in the image and via brew
- run: find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete -print
- run: |