Skip to content

Commit 331b724

Browse files
committed
rust cache in release
1 parent 59fcfd8 commit 331b724

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,7 @@ jobs:
2525
uses: dtolnay/rust-toolchain@stable
2626

2727
- name: Cache dependencies
28-
uses: actions/cache@v3
29-
with:
30-
path: |
31-
~/.cargo/registry
32-
~/.cargo/git
33-
target
34-
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
35-
restore-keys: |
36-
${{ runner.os }}-cargo-
28+
uses: swatinem/rust-cache@v2
3729

3830
- name: Install cargo-workspaces
3931
run: cargo install cargo-workspaces

0 commit comments

Comments
 (0)