Skip to content

Commit a570746

Browse files
committed
Fix wasm-bindgen version mismatch in deploy workflow
Install exact wasm-bindgen-cli version (0.2.106) matching Cargo.lock to prevent schema version mismatch errors during WASM binding generation. Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
1 parent 8213afe commit a570746

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/deploy-viewer.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,8 @@ jobs:
5353
5454
- name: Install wasm-bindgen-cli
5555
run: |
56-
if ! command -v wasm-bindgen &> /dev/null; then
57-
cargo install wasm-bindgen-cli
58-
fi
56+
# Install exact version matching Cargo.lock to avoid schema mismatch
57+
cargo install wasm-bindgen-cli --version 0.2.106
5958
6059
- name: Build WASM (WebGPU)
6160
run: |

0 commit comments

Comments
 (0)