Skip to content

Commit

Permalink
Use cache for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
01mf02 committed Dec 21, 2024
1 parent 427b44e commit ce2f953
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/cache@v4
if: !contains(matrix.target, '-pc-windows-')
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
key: cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Install Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
Expand Down

0 comments on commit ce2f953

Please sign in to comment.