Skip to content

Commit c0a99b7

Browse files
jtmoon79djc
authored andcommitted
Use bash instead of sh
The script at the URL uses bash-isms. Previously `sh` was silently emitting an error but by luck was succeeding.
1 parent 42fca00 commit c0a99b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/test.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ jobs:
121121
- run: |
122122
set -euxo pipefail
123123
export RUST_BACKTRACE=1
124-
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
124+
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf \
125+
| bash --noprofile --norc
125126
wasm-pack --version
126127
shell: bash
127128
- run: cargo build --target ${{ matrix.target }} --color=always

0 commit comments

Comments
 (0)