Skip to content

Commit a441487

Browse files
Fix artifactbundle upload for wasm32-unknown-wasip1
1 parent 6353360 commit a441487

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/build-toolchain.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,12 @@ jobs:
185185
${{ matrix.container }}
186186
docker exec swiftwasm-ci-buildbot /bin/bash -lc 'env; cp -r /source/* /home/build-user/; ./swiftwasm-build/tools/build/ci.sh ${{ matrix.scheme }}'
187187
188+
- name: Extract installable archive from Docker container (wasm32-unknown-wasip1)
189+
if: ${{ matrix.container != null && matrix.scheme != 'release-6.0' && matrix.scheme != 'release-6.1' }}
190+
run: |
191+
docker cp swiftwasm-ci-buildbot:/home/build-user/swift-wasm-${{ matrix.toolchain_channel }}-SNAPSHOT-wasm32-unknown-wasip1.artifactbundle.zip .
188192
- name: Extract installable archive from Docker container (wasm32-unknown-wasi)
189-
if: ${{ matrix.container != null }}
193+
if: ${{ matrix.container != null && !(matrix.scheme != 'release-6.0' && matrix.scheme != 'release-6.1') }}
190194
run: |
191195
docker cp swiftwasm-ci-buildbot:/home/build-user/swift-wasm-${{ matrix.toolchain_channel }}-SNAPSHOT-wasm32-unknown-wasi.artifactbundle.zip .
192196
# release-6.0 doesn't have wasm32-unknown-wasip1-threads SDK support yet
@@ -214,6 +218,11 @@ jobs:
214218
path: build-cache
215219
key: ${{ steps.cache_key.outputs.SCCACHE_KEY }}
216220

221+
- name: Upload Swift SDK artifact bundle (wasm32-unknown-wasip1)
222+
uses: actions/upload-artifact@v4
223+
with:
224+
name: ${{ matrix.scheme }}-wasm32-unknown-wasip1-artifactbundle
225+
path: swift-wasm-${{ matrix.toolchain_channel }}-SNAPSHOT-wasm32-unknown-wasip1.artifactbundle.zip
217226
- name: Upload Swift SDK artifact bundle (wasm32-unknown-wasi)
218227
uses: actions/upload-artifact@v4
219228
with:

0 commit comments

Comments
 (0)