diff --git a/action.yml b/action.yml index ac4dd50..8979bdc 100644 --- a/action.yml +++ b/action.yml @@ -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