From ae68e33ae5daddc10274a6413ee8973ffb2c63e6 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Wed, 15 Mar 2023 22:31:36 +0900 Subject: [PATCH] download-workflow-artifacts.sh: skip dist-ubuntu-latest Exclude dist-ubuntu-latest to prefer dist-ubuntu-bionic, which is compatible with wider distributions. cf. https://github.com/WebAssembly/wasi-sdk/pull/273#issuecomment-1373879491 https://github.com/WebAssembly/wasi-sdk/issues/303 --- ci/download-workflow-artifacts.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ci/download-workflow-artifacts.sh b/ci/download-workflow-artifacts.sh index 3fccd587e..a4849cca0 100755 --- a/ci/download-workflow-artifacts.sh +++ b/ci/download-workflow-artifacts.sh @@ -71,6 +71,14 @@ for A in $ARTIFACTS; do NAME=$(echo $A | cut -d ',' -f 2) URL=$(echo $A | cut -d ',' -f 3) TO=$TMP_DIR/$NAME.zip + # Exclude dist-ubuntu-latest to prefer dist-ubuntu-bionic, which is + # compatible with wider distributions. + # cf. + # https://github.com/WebAssembly/wasi-sdk/pull/273#issuecomment-1373879491 + # https://github.com/WebAssembly/wasi-sdk/issues/303 + if [ "${NAME}" = "dist-ubuntu-latest" ]; then + continue + fi >&2 echo "===== Downloading: ${TO} =====" # Download the artifacts to the temporary directory.