Skip to content

Commit

Permalink
Fix download of WASI-sdk
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Levick <[email protected]>
  • Loading branch information
rylev committed Jun 27, 2024
1 parent e4172ca commit f082845
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ concurrency: ${{ github.workflow }}
env:
CARGO_TERM_COLOR: always
RUST_VERSION: 1.76
WASI_SDK_VERSION: "22.0"
WASI_SDK_RELEASE: wasi-sdk-22

jobs:
build:
Expand Down Expand Up @@ -91,8 +93,7 @@ jobs:
cd /tmp
curl -LO https://github.com/WebAssembly/wasi-sdk/releases/download/${WASI_SDK_RELEASE}/wasi-sdk-${WASI_SDK_VERSION}-${{ matrix.config.wasiSDK }}.tar.gz
tar xf wasi-sdk-${WASI_SDK_VERSION}-${{ matrix.config.wasiSDK }}.tar.gz
mv wasi-sdk-${WASI_SDK_VERSION} ${{ matrix.config.targetDir }}/wasi-sdk
echo "WASI_SDK_PATH=${{ matrix.config.targetDir}}/wasi-sdk" >> $GITHUB_ENV
echo "WASI_SDK_PATH=`pwd`/wasi-sdk-${WASI_SDK_VERSION}" >> $GITHUB_ENV
- name: set the release version (main)
shell: bash
Expand Down

0 comments on commit f082845

Please sign in to comment.