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
@@ -37,7 +37,9 @@ jobs:
with:
path: |
~/.cache/ccache
key: ccache-sonarcloud
key: ccache-sonarcloud-${{ github.sha }}
restore-keys: |
ccache-sonarcloud-
- run: |
sudo apt-get install -qq ccache
echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV