github: Remove github.ref from cache keys
According to the documentation for actions/cache, the lookup is already scoped to the current branch (with fallback to any base branch including the default branch).
This commit is contained in:
@@ -34,9 +34,8 @@ jobs:
|
||||
path: |
|
||||
~/.ccache
|
||||
~/.sonar-cache
|
||||
key: ccache-sonarcloud-${{ github.ref }}:${{ github.sha }}
|
||||
key: ccache-sonarcloud-${{ github.sha }}
|
||||
restore-keys: |
|
||||
ccache-sonarcloud-${{ github.ref }}:
|
||||
ccache-sonarcloud-
|
||||
- run: |
|
||||
sudo apt-get install -qq ccache
|
||||
|
||||
Reference in New Issue
Block a user