From a3dfd59bd790ecde33d1059d3933653a58695eeb Mon Sep 17 00:00:00 2001 From: tligui_y Date: Fri, 22 Aug 2025 15:06:34 +0200 Subject: [PATCH] Update action.yml --- action.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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