Skip to content

Commit b871092

Browse files
committed
fix(ci): force wasm-bindgen-cli version
1 parent ff69573 commit b871092

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
- name: Install trunk and wasm target
2929
run: |
3030
rustup target add wasm32-unknown-unknown
31+
cargo install wasm-bindgen-cli --version 0.2.105 --locked
3132
cargo install trunk --locked
3233
3334
- name: Build frontend

.github/workflows/release-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
- name: Install trunk and wasm target
3434
run: |
3535
rustup target add wasm32-unknown-unknown
36+
cargo install wasm-bindgen-cli --version 0.2.105 --locked --force
3637
cargo install trunk --locked --force
3738
3839
- name: Clean cargo cache and target directory
@@ -100,6 +101,7 @@ jobs:
100101

101102
- name: Install trunk
102103
run: |
104+
cargo install wasm-bindgen-cli --version 0.2.105 --locked --force
103105
cargo install trunk --locked --force
104106
105107
- name: Create static directory
@@ -121,6 +123,7 @@ jobs:
121123
rm -rf dist .trunk
122124
trunk clean
123125
trunk build --release --dist ../rustmail/static --config Trunk.toml
126+
shell: bash
124127

125128
- name: Verify static files were created
126129
run: ls rustmail/static

0 commit comments

Comments
 (0)