Skip to content

Commit

Permalink
[FIX] (CI) add branch name to cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
makeecat committed Jan 12, 2025
1 parent 6c5a796 commit 5c3ee01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Setup rust-cache
uses: Swatinem/rust-cache@v2
with:
key: ${{ runner.os }}-${{ matrix.mode }}
key: ${{ runner.os }}-${{ matrix.mode }}-${{ github.ref_name}}
- name: Install winget
if: runner.os == 'Windows'
uses: Cyberboss/install-winget@v1
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
- name: Setup rust-cache
uses: Swatinem/rust-cache@v2
with:
key: ${{ runner.os }}-${{ matrix.mode }}
key: ${{ runner.os }}-${{ matrix.mode }}-${{ github.ref_name}}
- name: Install winget
if: runner.os == 'Windows'
uses: Cyberboss/install-winget@v1
Expand Down

0 comments on commit 5c3ee01

Please sign in to comment.