Skip to content

Commit 6804dd4

Browse files
arihant2mathcoolreader18
authored andcommitted
use rust-toolchain targets options instead of using rustup
1 parent defcada commit 6804dd4

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,8 @@ jobs:
8989
steps:
9090
- uses: actions/checkout@v4
9191
- uses: dtolnay/rust-toolchain@stable
92-
93-
- name: Set up Environment
94-
shell: bash
95-
run: rustup target add wasm32-wasip1
92+
with:
93+
targets: wasm32-wasip1
9694

9795
- name: Build RustPython
9896
run: cargo build --target wasm32-wasip1 --no-default-features --features freeze-stdlib,stdlib --release
@@ -112,7 +110,6 @@ jobs:
112110
- uses: mwilliamson/setup-wabt-action@v3
113111
with: { wabt-version: "1.0.30" }
114112
- name: build notebook demo
115-
if: github.ref == 'refs/heads/release'
116113
run: |
117114
npm install
118115
npm run dist

0 commit comments

Comments
 (0)