Skip to content

Commit fe72eb2

Browse files
committed
chore: fix workflow
1 parent e854348 commit fe72eb2

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.github/workflows/node.js.yml

+13-7
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,23 @@ jobs:
2929
override: true
3030
components: rustfmt, clippy
3131

32-
- name: Clone and setup Rooch
32+
- name: Download rooch
33+
run: |
34+
wget https://github.com/rooch-network/rooch/releases/latest/download/rooch-ubuntu-latest.zip
35+
echo "Download completed"
36+
37+
- name: Install Rooch
38+
run: |
39+
unzip rooch-ubuntu-latest.zip
40+
sudo cp rooch-artifacts/rooch /usr/local/bin
41+
rooch --version
42+
echo "Installation completed"
43+
44+
- name: Run rooch test
3345
run: |
34-
apt install git curl cmake make gcc pkg-config libssl-dev libsqlite3-dev g++
35-
git clone https://github.com/rooch-network/rooch.git _rooch
36-
cd _rooch
37-
cargo build
38-
cp target/debug/rooch ~/.cargo/bin/
3946
cd rooch
4047
rooch move test
4148
42-
4349
- name: Use Node.js ${{ matrix.node-version }} 🛎️
4450
uses: actions/checkout@v3
4551
with:

0 commit comments

Comments
 (0)