ci(web): match wasm-bindgen to lockfile
This commit is contained in:
parent
678938ddf7
commit
b166125529
1 changed files with 9 additions and 1 deletions
10
.github/workflows/pages.yml
vendored
10
.github/workflows/pages.yml
vendored
|
|
@ -39,10 +39,18 @@ jobs:
|
|||
with:
|
||||
tool: trunk
|
||||
|
||||
- name: Read wasm-bindgen version
|
||||
id: wasm-bindgen-version
|
||||
shell: bash
|
||||
run: |
|
||||
VERSION=$(sed -n '/name = "wasm-bindgen"/{n;s/version = "\(.*\)"/\1/p;q;}' Cargo.lock)
|
||||
test -n "$VERSION"
|
||||
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Install wasm-bindgen CLI
|
||||
uses: taiki-e/install-action@v2
|
||||
with:
|
||||
tool: wasm-bindgen@0.2.126
|
||||
tool: wasm-bindgen@${{ steps.wasm-bindgen-version.outputs.version }}
|
||||
|
||||
# The rust <link> in index.html sets `data-cargo-no-default-features`,
|
||||
# so this drops the `solid3d` feature (truck-meshalgo → lzma-sys C deps
|
||||
|
|
|
|||
Loading…
Reference in a new issue