Parcourir la source

CI: Install wasm32 Rust toolchain

parazyd il y a 3 ans
Parent
commit
affcb77ff0
1 fichiers modifiés avec 10 ajouts et 0 suppressions
  1. 10 0
      .github/workflows/ci.yml

+ 10 - 0
.github/workflows/ci.yml

@@ -16,6 +16,11 @@ jobs:
         with:
         with:
           toolchain: stable
           toolchain: stable
           override: true
           override: true
+      - uses: actions-rs/toolchain@v1
+        with:
+          toolchain: stable
+          target: wasm32-unknown-unknown
+          override: true
 
 
       - uses: Swatinem/rust-cache@v1
       - uses: Swatinem/rust-cache@v1
 
 
@@ -51,6 +56,11 @@ jobs:
         with:
         with:
           toolchain: stable
           toolchain: stable
           override: true
           override: true
+      - uses: actions-rs/toolchain@v1
+        with:
+          toolchain: stable
+          target: wasm32-unknown-unknown
+          override: true
       - uses: taiki-e/install-action@cargo-hack
       - uses: taiki-e/install-action@cargo-hack
       - uses: Swatinem/rust-cache@v1
       - uses: Swatinem/rust-cache@v1