From b1f7689e6cfd5e05f0cd86edbb9921916e66b331 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Fri, 22 Aug 2025 13:19:55 +0200 Subject: [PATCH] Update action.yml --- action.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 32d5cbd..f6da389 100644 --- a/action.yml +++ b/action.yml @@ -241,7 +241,7 @@ runs: echo "Writing to file" { - echo "set -e" + # echo "set -e" echo "set -x" echo "${{ inputs.custom_shell_commands }}" } > custom_commands.sh @@ -250,8 +250,10 @@ runs: chmod +x custom_commands.sh echo "Execute file" - ./custom_commands.sh >> "$LOG_FILE" 2>&1 || true + set +e + ./custom_commands.sh >> "$LOG_FILE" 2>&1 EXIT_CODE=$? + set -e echo "Finished file"