Skip to content

Commit

Permalink
Use target in cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Dec 30, 2023
1 parent 2e91aea commit 86af5b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const ci = {
name: "Cache cargo",
uses: "Swatinem/rust-cache@v2",
with: {
"prefix-key": "v3-rust",
"prefix-key": "v3-${{matrix.config.target}}",
"save-if": "${{ github.ref == 'refs/heads/main' }}",
},
},
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Cache cargo
uses: Swatinem/rust-cache@v2
with:
prefix-key: v3-rust
prefix-key: "v3-${{matrix.config.target}}"
save-if: "${{ github.ref == 'refs/heads/main' }}"
- uses: denoland/setup-deno@v1
- uses: actions/setup-node@v3
Expand Down

0 comments on commit 86af5b7

Please sign in to comment.