Skip to content

Commit 931fd90

Browse files
committed
Have rzup put toolchains in a temporary directory
1 parent f614965 commit 931fd90

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ jobs:
4242
ref: bobbobbio/rust-1.88
4343
path: risc0
4444

45+
- name: set RISC0_HOME
46+
run: echo "RISC0_HOME=$GITHUB_WORKSPACE/rzup_artifacts" >> $GITHUB_ENV
47+
4548
- name: Build
4649
run: GITHUB_ACTIONS=false cargo run --bin rzup -- build rust --path $GITHUB_WORKSPACE/rust
4750
working-directory: risc0
@@ -53,7 +56,7 @@ jobs:
5356
--exclude lib/rustlib/rustc-src \
5457
-hczvf \
5558
./rust-toolchain-${{ matrix.triple }}.tar.gz \
56-
-C $HOME/.risc0/toolchains/*rust*/ \
59+
-C $GITHUB_WORKSPACE/rzup_artifacts/toolchains/*rust*/ \
5760
.
5861
working-directory: rust
5962

0 commit comments

Comments
 (0)