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:
@@ -31,9 +31,8 @@ jobs:
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/Library/Caches/ccache
|
||||
key: ccache-${{ runner.os }}-${{ github.ref }}:${{ github.sha }}
|
||||
key: ccache-${{ runner.os }}-${{ github.sha }}
|
||||
restore-keys: |
|
||||
ccache-${{ runner.os }}-${{ github.ref }}:
|
||||
ccache-${{ runner.os }}-
|
||||
- run: |
|
||||
brew install ccache
|
||||
|
||||
Reference in New Issue
Block a user