1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-01 00:04:58 +03:00

Install wasmer binary from Github releases (#1765)

The current Github action responsible for installing Wasmer fails from
time to time, and it also is outdated, not following the new NodeJS 16
requirement by Github.

We could use https://github.com/jaxxstorm/action-install-gh-release
instead, but unfortunately, it does not have the proper support to
expose the binaries contained in an inner folder, as in the case with
the Wasmer release. In the meantime, let's use my
[fork](https://github.com/jonaprieto/action-install-gh-release) while I
open PR to the main repository.
This commit is contained in:
Jonathan Cubides 2023-01-25 14:45:04 +01:00 committed by GitHub
parent 444fdc4416
commit cd2af04601
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -227,8 +227,13 @@ jobs:
run: |
echo "WASI_SYSROOT_PATH=$GITHUB_WORKSPACE/wasi-sysroot" >> $GITHUB_ENV
- name: Setup Wasmer
uses: wasmerio/setup-wasmer@v2
- name: Install the latest Wasmer version
uses: jonaprieto/action-install-gh-release@1
with:
repo: wasmerio/wasmer
tag: latest
binaries-location: bin
cache: true
- name: Set homebrew LLVM CC and LIBTOOL vars (macOS)
if: runner.os == 'macOS'