Skip to content

Commit

Permalink
download-workflow-artifacts.sh: skip dist-ubuntu-latest
Browse files Browse the repository at this point in the history
Exclude dist-ubuntu-latest to prefer dist-ubuntu-bionic, which is
compatible with wider distributions.
cf.
WebAssembly#273 (comment)
WebAssembly#303
  • Loading branch information
yamt committed Mar 15, 2023
1 parent a433a25 commit ae68e33
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ci/download-workflow-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ae68e33

Please sign in to comment.