Skip to content

Commit de85b1d

Browse files
authored
Fix MacOS CI build issue (#24)
1 parent 2b791c6 commit de85b1d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ jobs:
4343
path: risc0
4444

4545
- name: set RISC0_HOME
46-
run: echo "RISC0_HOME=$GITHUB_WORKSPACE/rzup_artifacts" >> $GITHUB_ENV
46+
run: echo "RISC0_HOME=$GITHUB_WORKSPACE/rzup_artifacts_${{ github.ref_name }}" >> $GITHUB_ENV
47+
48+
- name: clear out RISC0_HOME
49+
run: rm -rf $RISC0_HOME
4750

4851
- name: Build
4952
run: GITHUB_ACTIONS=false cargo run --bin rzup -- build rust --path $GITHUB_WORKSPACE/rust
@@ -56,7 +59,7 @@ jobs:
5659
--exclude lib/rustlib/rustc-src \
5760
-hczvf \
5861
./rust-toolchain-${{ matrix.triple }}.tar.gz \
59-
-C $GITHUB_WORKSPACE/rzup_artifacts/toolchains/*rust*/ \
62+
-C $RISC0_HOME/toolchains/*rust*/ \
6063
.
6164
working-directory: rust
6265

0 commit comments

Comments
 (0)