Skip to content

Commit

Permalink
Install wasmer binary from Github releases (#2317)
Browse files Browse the repository at this point in the history
The wasmerio/setup-wasmer action is causing failures on CI

e.g
https://github.com/anoma/juvix/actions/runs/5978292661/job/16220075597

This PR installs wasmer directly from GitHub releases instead.
  • Loading branch information
paulcadman authored Aug 28, 2023
1 parent 491f7f7 commit 227a51a
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,12 @@ jobs:
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Setup Wasmer
uses: wasmerio/setup-wasmer@v2
- name: Install the latest Wasmer version
uses: jaxxstorm/action-install-gh-release@v1.10.0
with:
repo: wasmerio/wasmer
binaries-location: bin
chmod: 0755

- name: Install libs
run: sudo apt install -y libncurses5
Expand Down Expand Up @@ -184,8 +188,12 @@ jobs:
run: |
echo "WASI_SYSROOT_PATH=$GITHUB_WORKSPACE/wasi-sysroot" >> $GITHUB_ENV
- name: Setup Wasmer
uses: wasmerio/setup-wasmer@v3
- name: Install the latest Wasmer version
uses: jaxxstorm/action-install-gh-release@v1.10.0
with:
repo: wasmerio/wasmer
binaries-location: bin
chmod: 0755

# smoke dynamically links to icu4c, so a cached binary of smoke will break
# when brew bumps the icu4c version. In the following steps we use the
Expand Down

0 comments on commit 227a51a

Please sign in to comment.