Update action.yml
This commit is contained in:
+3
-7
@@ -333,14 +333,10 @@ runs:
|
||||
POST_STATUS=$?
|
||||
set -e
|
||||
if [ $POST_STATUS -ne 0 ]; then
|
||||
echo "❌ Post-test failed" | tee -a "$LOG_FILE"
|
||||
echo "❌ Post-test failed" | tee -a "$LOG_FILE"
|
||||
exec >/dev/null 2>&1
|
||||
echo "Exit Code: 1" >> "$LOG_FILE"
|
||||
exec 1>/dev/null
|
||||
exec 2>/dev/null
|
||||
|
||||
# 💀 Stopper tous les jobs de ce shell (silence total)
|
||||
kill 0 >/dev/null 2>&1 || true
|
||||
|
||||
kill 0 || true
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user