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:
@@ -42,7 +42,9 @@ jobs:
|
||||
- uses: actions/cache@v5
|
||||
with:
|
||||
path: ~/.cache/ccache
|
||||
key: ccache-${{ runner.os }}-${{ matrix.test }}
|
||||
key: ccache-${{ runner.os }}-${{ matrix.test }}-${{ github.sha }}
|
||||
restore-keys: |
|
||||
ccache-${{ runner.os }}-${{ matrix.test }}-
|
||||
- run: |
|
||||
sudo apt-get install -qq ccache
|
||||
echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
|
||||
|
||||
Reference in New Issue
Block a user