diff options
author | deadprogram <[email protected]> | 2023-02-18 11:30:33 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2023-02-18 19:41:11 +0100 |
commit | f6758d22d8790deb0fa503d7c7bf4d27816e98f1 (patch) | |
tree | 1e5611e59a41c2aa1b4f5da591062ed174959d0e | |
parent | 87cfe6a538da438df5037fc1ef7c4a05870cebc2 (diff) | |
download | tinygo-f6758d22d8790deb0fa503d7c7bf4d27816e98f1.tar.gz tinygo-f6758d22d8790deb0fa503d7c7bf4d27816e98f1.zip |
build/linux: install wasmtime directly from github release
Signed-off-by: deadprogram <[email protected]>
-rw-r--r-- | .github/workflows/linux.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 06ff41d37..ca956e61d 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -139,7 +139,9 @@ jobs: cache: true - name: Install wasmtime run: | - curl https://wasmtime.dev/install.sh -sSf | bash + mkdir -p $HOME/.wasmtime $HOME/.wasmtime/bin + curl https://github.com/bytecodealliance/wasmtime/releases/download/v5.0.0/wasmtime-v5.0.0-x86_64-linux.tar.xz -o wasmtime-v5.0.0-x86_64-linux.tar.xz -SfL + tar -C $HOME/.wasmtime/bin --wildcards -xf wasmtime-v5.0.0-x86_64-linux.tar.xz --strip-components=1 wasmtime-v5.0.0-x86_64-linux/* echo "$HOME/.wasmtime/bin" >> $GITHUB_PATH - name: Download release artifact uses: actions/download-artifact@v3 @@ -183,7 +185,9 @@ jobs: node-version: '14' - name: Install wasmtime run: | - curl https://wasmtime.dev/install.sh -sSf | bash + mkdir -p $HOME/.wasmtime $HOME/.wasmtime/bin + curl -L https://github.com/bytecodealliance/wasmtime/releases/download/v5.0.0/wasmtime-v5.0.0-x86_64-linux.tar.xz -o wasmtime-v5.0.0-x86_64-linux.tar.xz -SfL + tar -C $HOME/.wasmtime/bin --wildcards -xf wasmtime-v5.0.0-x86_64-linux.tar.xz --strip-components=1 wasmtime-v5.0.0-x86_64-linux/* echo "$HOME/.wasmtime/bin" >> $GITHUB_PATH - name: Restore LLVM source cache uses: actions/cache/restore@v3 |