Skip to content

Commit

Permalink
fix: bump rustup cache version
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptonemo committed May 5, 2021
1 parent 6fac276 commit 2daf9a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -350,15 +350,15 @@ commands:
- run: cp -R ~/.cargo ~/.rustup /tmp/
- save_cache:
name: "Save rustup cache"
key: cargo-v28-d-{{ checksum "rust-toolchain" }}-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }}
key: cargo-v28-e-{{ checksum "rust-toolchain" }}-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }}
paths:
- /tmp/.cargo
- /tmp/.rustup
restore_rustup_cache:
steps:
- restore_cache:
name: "Restore rustup cache"
key: cargo-v28-d-{{ checksum "rust-toolchain" }}-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }}
key: cargo-v28-e-{{ checksum "rust-toolchain" }}-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }}
# Cache might not be created yet, hence ignore if the move fails
- run: cp -R /tmp/.cargo /tmp/.rustup ~/ || true
save_parameter_cache:
Expand Down

0 comments on commit 2daf9a2

Please sign in to comment.