Skip to content

Commit

Permalink
exclude 32-bit Windows artifact in download-workflow-artifacts.sh (#417)
Browse files Browse the repository at this point in the history
This helps ensure the identically-named 32-bit tarfile doesn't overwrite the
64-bit one when we extract everything into a single directory.

I'll follow this up by making an updated wasi-sdk-22.0.m-mingw.tar.gz and adding
it to the wasi-sdk-22 release.

Fixes #326

Signed-off-by: Joel Dice <joel.dice@fermyon.com>
  • Loading branch information
dicej committed May 9, 2024
1 parent 95e3c2c commit af429ed
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ci/download-workflow-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ for A in $ARTIFACTS; do
if [ "${NAME}" = "dist-ubuntu-latest" ]; then
continue
fi
# Exclude the 32-bit Windows artifact in favor of the 64-bit one. This helps
# ensure the identically-named 32-bit tarfile doesn't overwrite the 64-bit
# one below. See:
# - https://github.com/WebAssembly/wasi-sdk/issues/326
if [ "${NAME}" = "dist-windows-latest-x86" ]; then
continue
fi
>&2 echo "===== Downloading: ${TO} ====="

# Download the artifacts to the temporary directory.
Expand Down

0 comments on commit af429ed

Please sign in to comment.