CI: packaging lint passes again (wasm-bindgen install step as an if, not A && B || C)
actionlint's shellcheck flagged SC2015 on release.yml's Install wasm-bindgen CLI step, failing the Packaging lint workflow on main and release since 2 October. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
0bb8baf4da
commit
a48de85015
@@ -221,8 +221,9 @@ jobs:
|
|||||||
- name: Install wasm-bindgen CLI
|
- name: Install wasm-bindgen CLI
|
||||||
run: |
|
run: |
|
||||||
# Must match the wasm-bindgen version in Cargo.lock exactly (cargo xtask web checks it).
|
# Must match the wasm-bindgen version in Cargo.lock exactly (cargo xtask web checks it).
|
||||||
command -v wasm-bindgen >/dev/null && wasm-bindgen --version | grep -q "$WASM_BINDGEN_VERSION" \
|
if ! { command -v wasm-bindgen >/dev/null && wasm-bindgen --version | grep -q "$WASM_BINDGEN_VERSION"; }; then
|
||||||
|| cargo install wasm-bindgen-cli --version "$WASM_BINDGEN_VERSION" --locked
|
cargo install wasm-bindgen-cli --version "$WASM_BINDGEN_VERSION" --locked
|
||||||
|
fi
|
||||||
wasm-bindgen --version
|
wasm-bindgen --version
|
||||||
- name: Apply version override
|
- name: Apply version override
|
||||||
if: inputs.version != ''
|
if: inputs.version != ''
|
||||||
|
|||||||
Reference in New Issue
Block a user