diff --git a/action.yml b/action.yml index 71a9b4a..5e7ae04 100644 --- a/action.yml +++ b/action.yml @@ -334,9 +334,9 @@ runs: set -e if [ $POST_STATUS -ne 0 ]; then echo "❌ Post-test failed" | tee -a "$LOG_FILE" + echo "Exit Code: 1" >> "$LOG_FILE" kill 0 >/dev/null 2>&1 || true exec >/dev/null 2>&1 - echo "Exit Code: 1" >> "$LOG_FILE" exit 1 fi fi