Skip to content

Commit

Permalink
ci: make cache depend on branch
Browse files Browse the repository at this point in the history
  • Loading branch information
frank-w committed Feb 17, 2024
1 parent 71a6c1d commit b172943
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Expand Up @@ -60,10 +60,9 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.cache/ccache/
key: ${{ runner.os }}-ccache
key: ${{ runner.os }}-ccache-${{ github.ref_name }}
restore-keys: |
${{ runner.os }}-ccache
${{ runner.os }}-ccache-
${{ runner.os }}-ccache-${{ github.ref_name }}
- name: Build for bananapi-r2
run: |
Expand Down

0 comments on commit b172943

Please sign in to comment.