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:
Tobias Brunner
2021-08-23 17:53:33 +02:00
parent 8d422d2c83
commit b4a34ff5ea
5 changed files with 9 additions and 18 deletions
+1 -2
View File
@@ -38,9 +38,8 @@ jobs:
- uses: actions/cache@v2
with:
path: ~/.ccache
key: ccache-android-${{ github.ref }}:${{ github.sha }}
key: ccache-android-${{ github.sha }}
restore-keys: |
ccache-android-${{ github.ref }}:
ccache-android-
- run: |
sudo apt-get install -qq ccache