Skip to content

Commit

Permalink
ci: change cache key for cargo xwin to be constant
Browse files Browse the repository at this point in the history
  • Loading branch information
samypr100 committed May 17, 2024
1 parent 9ed0ccf commit aa61db7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,11 @@ jobs:
uses: actions/cache@v4
with:
path: "${{ github.workspace}}/.xwin"
key: cargo-xwin-${{ hashFiles('rust-toolchain.toml') }}
key: cargo-xwin
- name: Load rust cache
uses: Swatinem/rust-cache@v2
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: "Install cargo-xwin"
uses: taiki-e/install-action@v2
with:
Expand Down

0 comments on commit aa61db7

Please sign in to comment.