Skip to content

Commit ac9ad54

Browse files
committed
Update build workflow
1 parent 2f99f9e commit ac9ad54

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,13 @@ jobs:
77
- name: Checkout
88
uses: actions/checkout@v4
99

10+
- name: Set up Rust toolchain
11+
uses: dtolnay/rust-toolchain@stable
12+
with:
13+
targets: wasm32-unknown-unknown
14+
15+
- name: Install wasm-pack
16+
run: curl https://drager.github.io/wasm-pack/installer/init.sh -sSf | bash
17+
1018
- name: Build library
11-
run: cargo build
19+
run: wasm-pack build --scope libresplit --target web --release

0 commit comments

Comments
 (0)