From 28fecae9f526bb5f6cae718ab1125b4abc65428a Mon Sep 17 00:00:00 2001 From: Luca Spinazzola Date: Tue, 10 Oct 2023 11:35:53 -0400 Subject: [PATCH] install wasm-opt through cargo --- .github/workflows/Integration.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Integration.yml b/.github/workflows/Integration.yml index b274605..7b98eb7 100644 --- a/.github/workflows/Integration.yml +++ b/.github/workflows/Integration.yml @@ -63,10 +63,6 @@ jobs: - name: Add wasm toolchain run: | rustup target add wasm32-unknown-unknown - - name: Install wasm-opt - run: | - sudo apt-get update - sudo apt-get install -y binaryen - name: Cache cargo registry uses: actions/cache@v3 continue-on-error: false @@ -87,6 +83,8 @@ jobs: ${{ runner.os }}-sccache- - name: Start sccache server run: sccache --start-server + - name: Install wasm-opt + run: cargo add wasm-opt - name: Compile code run: make build - name: ${{ matrix.make.name }}