Skip to content

Commit d4863d5

Browse files
committed
fix: set wkg publish wit dir
1 parent bcfd26a commit d4863d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ jobs:
134134
- name: Build WIT package
135135
if: steps.skip_check.outputs.skip != 'true'
136136
shell: bash
137-
working-directory: proposals/${{ matrix.proposal.name }}/${{ needs.setup.outputs.wit_dir }}
137+
working-directory: proposals/${{ matrix.proposal.name }}
138138
run: |
139139
echo "Building from: $(pwd)"
140-
wkg wit build -o "$GITHUB_WORKSPACE/wasi-${{ matrix.proposal.name }}.wasm"
140+
wkg wit build -o "$GITHUB_WORKSPACE/wasi-${{ matrix.proposal.name }}.wasm" --wit-dir "${{ needs.setup.outputs.wit_dir }}"
141141
142142
- name: Publish to GitHub Container Registry
143143
if: steps.skip_check.outputs.skip != 'true'

0 commit comments

Comments
 (0)