From af429ed1573783473d2835d35c10eb94a462d979 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Thu, 9 May 2024 12:54:13 -0600 Subject: [PATCH] exclude 32-bit Windows artifact in download-workflow-artifacts.sh (#417) 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 --- ci/download-workflow-artifacts.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ci/download-workflow-artifacts.sh b/ci/download-workflow-artifacts.sh index 409b484..543f93c 100755 --- a/ci/download-workflow-artifacts.sh +++ b/ci/download-workflow-artifacts.sh @@ -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.