diff --git a/.github/workflows/ci-lint-typescript.yml b/.github/workflows/ci-lint-typescript.yml index 6771c79cd35..397da83490e 100644 --- a/.github/workflows/ci-lint-typescript.yml +++ b/.github/workflows/ci-lint-typescript.yml @@ -41,10 +41,8 @@ jobs: - name: Install wasm-pack run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - # - uses: brndnmtthws/rust-action-cargo-binstall@v1 - # with: - # packages: wasm-opt - - run: | + - name: Install wasm-opt + run: | curl -L https://github.com/WebAssembly/binaryen/releases/download/version_116/binaryen-version_116-x86_64-linux.tar.gz > /tmp/linux.tar.gz tar -xvzf /tmp/linux.tar.gz -C /tmp cp /tmp/binaryen-version_116/bin/wasm-opt ~/.cargo/bin diff --git a/.github/workflows/ci-sdk-docs-typescript.yml b/.github/workflows/ci-sdk-docs-typescript.yml index a90efe9edf4..3e494c85fb6 100644 --- a/.github/workflows/ci-sdk-docs-typescript.yml +++ b/.github/workflows/ci-sdk-docs-typescript.yml @@ -38,7 +38,10 @@ jobs: run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - name: Install wasm-opt - run: cargo install wasm-opt + - run: | + curl -L https://github.com/WebAssembly/binaryen/releases/download/version_116/binaryen-version_116-x86_64-linux.tar.gz > /tmp/linux.tar.gz + tar -xvzf /tmp/linux.tar.gz -C /tmp + cp /tmp/binaryen-version_116/bin/wasm-opt ~/.cargo/bin - name: Build branch WASM packages run: make sdk-wasm-build diff --git a/.github/workflows/ci-sdk-wasm.yml b/.github/workflows/ci-sdk-wasm.yml index abb8f47412d..b9e8b08e763 100644 --- a/.github/workflows/ci-sdk-wasm.yml +++ b/.github/workflows/ci-sdk-wasm.yml @@ -35,9 +35,11 @@ jobs: - name: Install wasm-pack run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - - uses: brndnmtthws/rust-action-cargo-binstall@v1 - with: - packages: wasm-opt + - name: Install wasm-opt + run: | + curl -L https://github.com/WebAssembly/binaryen/releases/download/version_116/binaryen-version_116-x86_64-linux.tar.gz > /tmp/linux.tar.gz + tar -xvzf /tmp/linux.tar.gz -C /tmp + cp /tmp/binaryen-version_116/bin/wasm-opt ~/.cargo/bin - name: Install wasm-bindgen-cli run: cargo install wasm-bindgen-cli