Skip to content

Commit dc1b144

Browse files
ci: skip to try downloading expired artifacts
1 parent 23053c8 commit dc1b144

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/webassembly/distribute-latest-toolchain.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ head_sha=$(echo $latest_run | jq .head_sha --raw-output)
3333

3434
get_artifact_url() {
3535
local name=$1
36-
github $artifacts_url --fail | jq ".artifacts[] | select(.name == \"$name\") | .archive_download_url" | sed 's/\"//g'
36+
github $artifacts_url --fail | jq ".artifacts[] | select((.name == \"$name\") and (.expired | not)) | .archive_download_url" | sed 's/\"//g'
3737
}
3838

3939
download_artifact() {

0 commit comments

Comments
 (0)