github: Remove commit ID from cache keys
This reduces the cache storage for active branches and since caches for different branches are separate and we abort previous builds of the same branch, this is not necessary to ensure caches can successfully be stored.
This commit is contained in:
@@ -54,11 +54,9 @@ jobs:
|
||||
uses: actions/cache@v5
|
||||
with:
|
||||
path: ~/.cache/ccache
|
||||
key: ccache-ubuntu-latest-gcc-codeql-${{ github.sha }}
|
||||
key: ccache-ubuntu-latest-gcc-codeql
|
||||
restore-keys: |
|
||||
ccache-ubuntu-latest-gcc-codeql
|
||||
ccache-ubuntu-latest-gcc-all-${{ github.sha }}
|
||||
ccache-ubuntu-latest-gcc-all-
|
||||
ccache-ubuntu-latest-gcc-all
|
||||
ccache-ubuntu-latest-gcc-
|
||||
- if: matrix.language == 'cpp'
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user