Skip to content

Commit

Permalink
Add target to cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
jjcomer committed Sep 20, 2023
1 parent 2f0cba0 commit 21b50d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ jobs:
components: clippy
- name: Rust Cache
uses: Swatinem/[email protected]
with:
key: ${{ matrix.target }}
- name: Install Cross
uses: actions-rs/[email protected]
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ jobs:
profile: minimal
- name: Rust Cache
uses: Swatinem/[email protected]
with:
key: ${{ matrix.target }}
- name: Archive Release
uses: taiki-e/upload-rust-binary-action@v1
with:
Expand Down

0 comments on commit 21b50d8

Please sign in to comment.