We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
artifact_url
distribute-latest-toolchain.sh
1 parent 7f2d9d0 commit 524a9e7Copy full SHA for 524a9e7
utils/webassembly/distribute-latest-toolchain.sh
@@ -30,7 +30,14 @@ get_artifact_url() {
30
31
download_artifact() {
32
local name=$1
33
- github -L "$(get_artifact_url $name)" --fail -o "$name.zip"
+ local artifact_url="$(get_artifact_url $name)"
34
+
35
+ if [ -z "$artifact_url" ] || [ "$artifact_url" == "null" ]; then
36
+ echo "No successfully built artifacts available for $name"
37
+ exit 0
38
+ fi
39
40
+ github -L "$artifact_url" --fail -o "$name.zip"
41
}
42
43
is_released() {
0 commit comments