Skip to content

Commit c811531

Browse files
committed
fix(ci): fall back to env.MSRV_WASM
matrix can't read env
1 parent 2ee614a commit c811531

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎.github/workflows/platforms.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ jobs:
529529
matrix:
530530
include:
531531
- name: no-atomics
532-
toolchain: ${{ env.MSRV_WASM }}
532+
toolchain: ""
533533
rustflags: ""
534534
build-std: ""
535535
components: ""
@@ -546,10 +546,10 @@ jobs:
546546
steps:
547547
- uses: actions/checkout@v5
548548

549-
- name: Install Rust ${{ matrix.toolchain }}
549+
- name: Install Rust ${{ matrix.toolchain || env.MSRV_WASM }}
550550
uses: dtolnay/rust-toolchain@master
551551
with:
552-
toolchain: ${{ matrix.toolchain }}
552+
toolchain: ${{ matrix.toolchain || env.MSRV_WASM }}
553553
targets: ${{ env.TARGET }}
554554
components: ${{ matrix.components }}
555555

@@ -559,13 +559,13 @@ jobs:
559559
key: wasm-emscripten-${{ matrix.name }}
560560

561561
- name: Check examples (default features)
562-
run: cargo +${{ matrix.toolchain }} check --examples --workspace --verbose ${{ matrix.build-std }} --target ${{ env.TARGET }}
562+
run: cargo +${{ matrix.toolchain || env.MSRV_WASM }} check --examples --workspace --verbose ${{ matrix.build-std }} --target ${{ env.TARGET }}
563563

564564
- name: Check examples (wasm-bindgen feature)
565-
run: cargo +${{ matrix.toolchain }} check --examples --features wasm-bindgen --workspace --verbose ${{ matrix.build-std }} --target ${{ env.TARGET }}
565+
run: cargo +${{ matrix.toolchain || env.MSRV_WASM }} check --examples --features wasm-bindgen --workspace --verbose ${{ matrix.build-std }} --target ${{ env.TARGET }}
566566

567567
- name: Check all features
568-
run: cargo +${{ matrix.toolchain }} check --workspace --all-features --verbose ${{ matrix.build-std }} --target ${{ env.TARGET }}
568+
run: cargo +${{ matrix.toolchain || env.MSRV_WASM }} check --workspace --all-features --verbose ${{ matrix.build-std }} --target ${{ env.TARGET }}
569569

570570
# WebAssembly - WASI Preview 1
571571
wasm-wasip1:

0 commit comments

Comments
 (0)