Fix exit code handling in update script to ensure workflow continues on specific failure

This commit is contained in:
2025-05-03 17:03:58 +02:00
parent fc32b44215
commit eeebf3fb18

View File

@@ -68,6 +68,7 @@ jobs:
elif [ $EXIT_CODE -eq 3 ]; then elif [ $EXIT_CODE -eq 3 ]; then
echo "changes_detected=false" >> $GITHUB_ENV echo "changes_detected=false" >> $GITHUB_ENV
# Transform it to 0 to avoid failing the workflow # Transform it to 0 to avoid failing the workflow
EXIT_CODE=0
exit 0 exit 0
else else
echo "Script failed with exit code $EXIT_CODE" echo "Script failed with exit code $EXIT_CODE"