Skip to content

Commit

Permalink
ci: add cache cleanup step
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianFranzen committed Jul 1, 2024
1 parent b46bf87 commit 877dc07
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/actions/cargo-command/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ runs:
- name: Install rust toolchain
shell: bash
run : rustup show
- name: Clear cargo registry and index
- name: Install cargo-cache
shell: bash
run: rm -rf ~/.cargo/registry ~/.cargo/git
run: cargo install cargo-cache
- name: Cleanup cargo cache
run: cargo cache --autoclean
- name: Cache cargo registry and index
uses: actions/cache@v4
with:
Expand Down

0 comments on commit 877dc07

Please sign in to comment.