From 2379fc2fcb9f8e23b600e3671df834806dc1d7f1 Mon Sep 17 00:00:00 2001 From: Jeferson Souza Date: Wed, 10 Jan 2024 00:48:03 -0300 Subject: [PATCH] update github action --- .github/workflows/build-html5.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-html5.yml b/.github/workflows/build-html5.yml index 69e79f8..7345113 100644 --- a/.github/workflows/build-html5.yml +++ b/.github/workflows/build-html5.yml @@ -44,14 +44,11 @@ jobs: version: ${{env.EMSDK_VERSION}} - name: Compile native lib for wasm - uses: actions-rs/cargo@v1 working-directory: ./source/native - with: - toolchain: nightly-2023-11-10 - command: build - args: --target wasm32-unknown-emscripten --release env: C_INCLUDE_PATH: ${{env.EMSDK}}/upstream/emscripten/cache/sysroot/include/ + run: | + cargo +nightly-2023-11-10 build --target=wasm32-unknown-emscripten --release - name: Build run: |