Skip to content

Commit 8e4ecdb

Browse files
committed
Use "host" instead of "target" in Web Tests
Signed-off-by: Joe Richey <joerichey@google.com>
1 parent 5a4a8ea commit 8e4ecdb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,12 +192,12 @@ jobs:
192192
matrix:
193193
include:
194194
- os: ubuntu-latest
195-
target: x86_64-unknown-linux-musl
195+
host: x86_64-unknown-linux-musl
196196
- os: windows-latest
197-
target: x86_64-pc-windows-msvc
197+
host: x86_64-pc-windows-msvc
198198
# Reenable when Safari tests start working
199199
# - os: macos-12
200-
# target: x86_64-apple-darwin
200+
# host: x86_64-apple-darwin
201201
runs-on: ${{ matrix.os }}
202202
steps:
203203
- uses: actions/checkout@v3
@@ -208,7 +208,7 @@ jobs:
208208
shell: bash
209209
run: |
210210
VERSION=v0.10.3
211-
URL=https://github.com/rustwasm/wasm-pack/releases/download/${VERSION}/wasm-pack-${VERSION}-${{ matrix.target }}.tar.gz
211+
URL=https://github.com/rustwasm/wasm-pack/releases/download/${VERSION}/wasm-pack-${VERSION}-${{ matrix.host }}.tar.gz
212212
wget -O - $URL | tar -xz --strip-components=1 -C ~/.cargo/bin
213213
wasm-pack --version
214214
- uses: Swatinem/rust-cache@v2

0 commit comments

Comments
 (0)