From bd46e89af37567bcae633ff0a4d85b721d6a5538 Mon Sep 17 00:00:00 2001 From: Dominik Piatek Date: Thu, 30 Nov 2023 16:37:03 +0000 Subject: [PATCH] Fail action if curl does not work --- scripts/update-dependents.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/update-dependents.sh b/scripts/update-dependents.sh index 7aff9a83d..9909b2927 100755 --- a/scripts/update-dependents.sh +++ b/scripts/update-dependents.sh @@ -20,6 +20,7 @@ if [ -z "$WEBSITE_RESULT" ]; then else echo "Failed to trigger workflow:" echo $WEBSITE_RESULT + exit 1 fi echo "" @@ -37,4 +38,5 @@ if [ -z "$VOLTAIRE_RESULT" ]; then else echo "Failed to trigger workflow:" echo $VOLTAIRE_RESULT + exit 1 fi