Skip to content

Commit 3879283

Browse files
committed
ci: make cache depend on branch
1 parent 7a48f53 commit 3879283

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
@@ -55,10 +55,9 @@ jobs:
5555
uses: actions/cache@v4
5656
with:
5757
path: ~/.cache/ccache/
58-
key: ${{ runner.os }}-ccache
58+
key: ${{ runner.os }}-ccache-${{ github.ref_name }}
5959
restore-keys: |
60-
${{ runner.os }}-ccache
61-
${{ runner.os }}-ccache-
60+
${{ runner.os }}-ccache-${{ github.ref_name }}
6261
6362
- name: Build for bananapi-r2
6463
run: |

0 commit comments

Comments
 (0)