Skip to content

Commit

Permalink
Use bash instead of sh
Browse files Browse the repository at this point in the history
The script at the URL uses bash-isms. Previously `sh` was silently emitting
an error but by luck was succeeding.
  • Loading branch information
jtmoon79 authored and djc committed May 29, 2023
1 parent 42fca00 commit c0a99b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ jobs:
- run: |
set -euxo pipefail
export RUST_BACKTRACE=1
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf \
| bash --noprofile --norc
wasm-pack --version
shell: bash
- run: cargo build --target ${{ matrix.target }} --color=always
Expand Down

0 comments on commit c0a99b7

Please sign in to comment.