File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 6969 at : " ."
7070 - restore_cache :
7171 keys :
72- - cargo-v0-{{ checksum "rust-toolchain" }}-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }}-{{ arch }}
72+ - cargo-v0-{{ checksum "rust/rust -toolchain" }}-{{ checksum "rust/ Cargo.toml" }}-{{ checksum "rust/ Cargo.lock" }}-{{ arch }}
7373 - run :
7474 name : Install jq
7575 command : apt-get install jq -yqq
7878 command : cd rust; ./scripts/build-release.sh filecoin $(cat ./rust-toolchain) --verbose --frozen --all
7979 - run :
8080 name : Publish release to GitHub
81- command : cd rust; bash ./scripts/publish-release.sh
81+ command : bash ./scripts/publish-release.sh
8282 cargo_fetch :
8383 docker :
8484 - image : filecoin/rust:latest
8989 - checkout
9090 - restore_cache :
9191 keys :
92- - cargo-v0-{{ checksum "rust-toolchain" }}-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }}-{{ arch }}
92+ - cargo-v0-{{ checksum "rust/rust-toolchain" }}-{{ checksum "rust/Cargo.toml" }}-{{ checksum "rust/Cargo.lock" }}-{{ arch }}
93+ - run : cd rust
9394 - run : rustup install $(cat rust-toolchain)
9495 - run : rustup default $(cat rust-toolchain)
9596 - run : rustup component add rustfmt-preview
@@ -102,7 +103,7 @@ jobs:
102103 paths :
103104 - Cargo.lock
104105 - save_cache :
105- key : cargo-v0-{{ checksum "rust-toolchain" }}-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }}-{{ arch }}
106+ key : cargo-v0-{{ checksum "rust/rust -toolchain" }}-{{ checksum "rust/ Cargo.toml" }}-{{ checksum "rust/ Cargo.lock" }}-{{ arch }}
106107 paths :
107108 - /root/.cargo
108109 - /root/.rustup
You can’t perform that action at this time.
0 commit comments