Skip to content

Commit fcbf06a

Browse files
committed
cd rust
1 parent c3b4a7e commit fcbf06a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.circleci/config.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
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
@@ -78,7 +78,7 @@ jobs:
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
@@ -89,7 +89,8 @@ jobs:
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

0 commit comments

Comments
 (0)