Skip to content

Commit 1282456

Browse files
authored
download-workflow-artifacts.sh: skip dist-ubuntu-latest (WebAssembly#307)
Exclude dist-ubuntu-latest to prefer dist-ubuntu-bionic, which is compatible with wider distributions. cf. WebAssembly#273 (comment) WebAssembly#303
1 parent d21c040 commit 1282456

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ci/download-workflow-artifacts.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ for A in $ARTIFACTS; do
7171
NAME=$(echo $A | cut -d ',' -f 2)
7272
URL=$(echo $A | cut -d ',' -f 3)
7373
TO=$TMP_DIR/$NAME.zip
74+
# Exclude dist-ubuntu-latest to prefer dist-ubuntu-bionic, which is
75+
# compatible with wider distributions.
76+
# cf.
77+
# https://github.com/WebAssembly/wasi-sdk/pull/273#issuecomment-1373879491
78+
# https://github.com/WebAssembly/wasi-sdk/issues/303
79+
if [ "${NAME}" = "dist-ubuntu-latest" ]; then
80+
continue
81+
fi
7482
>&2 echo "===== Downloading: ${TO} ====="
7583

7684
# Download the artifacts to the temporary directory.

0 commit comments

Comments
 (0)