Skip to content

Commit 454ab97

Browse files
committed
chore: fix workflow
1 parent d098105 commit 454ab97

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/node.js.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,13 @@ jobs:
4646
- name: build
4747
run: npx yarn build
4848

49-
# Set up Rust
50-
- uses: actions/setup-rust@v1
51-
with:
52-
toolchain: stable
5349

5450
- name: Clone and setup Rooch
5551
run: |
5652
git clone https://github.com/rooch-network/rooch.git _rooch
5753
cd _rooch
54+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
55+
source $HOME/.cargo/env
5856
cargo build
5957
cp target/debug/rooch ~/.cargo/bin/
6058
cd rooch

0 commit comments

Comments
 (0)