Skip to content

Commit b9e168d

Browse files
fix(ci): wasi-sdk path when building
1 parent 744b8c6 commit b9e168d

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,8 @@ jobs:
663663
with:
664664
tool: wkg
665665

666-
- uses: bytecodealliance/setup-wasi-sdk-action@b2de090b44eb70013ee96b393727d473b35e1728
666+
- id: wasi-sdk
667+
uses: bytecodealliance/setup-wasi-sdk-action@b2de090b44eb70013ee96b393727d473b35e1728
667668

668669
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
669670

@@ -677,6 +678,8 @@ jobs:
677678

678679
- name: Build extended component tree
679680
working-directory: test/components
681+
env:
682+
WASI_SDK: ${{ steps.wasi-sdk.outputs.wasi-sdk-path }}
680683
run: just build
681684

682685
- name: Run extended component tests

test/components/cpp/jco-issue-1380/caller/justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ gen-bindings: wit-fetch
2222
# Build python wasm component
2323
build: gen-bindings
2424
@if [ ! -d "{{wasi_sdk_base_dir}}" ]; then \
25-
echo '[error] failed to find wasi-sdk dir [{{wasi_sdk_base_dir}}'; \
25+
echo '[error] failed to find wasi-sdk dir [{{wasi_sdk_base_dir}}]'; \
2626
echo ' is wasi-sdk installed? (at /opt/wasi-sdk, or specified via WASI_SDK env var)'; \
2727
exit -1; \
2828
fi

0 commit comments

Comments
 (0)