Skip to content

Commit 89288cd

Browse files
committed
ci: make cache depend on branch
1 parent ca0f5d7 commit 89288cd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,9 @@ jobs:
6060
uses: actions/cache@v4
6161
with:
6262
path: ~/.cache/ccache/
63-
key: ${{ runner.os }}-ccache
63+
key: ${{ runner.os }}-ccache-${{ github.ref_name }}
6464
restore-keys: |
65-
${{ runner.os }}-ccache
66-
${{ runner.os }}-ccache-
65+
${{ runner.os }}-ccache-${{ github.ref_name }}
6766
6867
- name: Build for bananapi-r2
6968
run: |

0 commit comments

Comments
 (0)