From f94d67b42a8c2f9b7191b98653a6039290630ed3 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Mon, 11 Jan 2021 14:21:52 -0800 Subject: [PATCH] Use a publisehd action for setting up emscripten on CI --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 02336bfe..2baee151 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,6 +31,7 @@ jobs: path: | ~/.cargo/registry ~/.cargo/git + emsdk-cache target key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }} @@ -42,8 +43,10 @@ jobs: override: true - name: Install emscripten - run: eval $(script/fetch-emscripten) - if: matrix.os == 'macos-latest' + uses: mymindstorm/setup-emsdk@v7 + with: + version: 2.0.11 + actions-cache-folder: emsdk-cache - name: Build C library run: make