Update action.yml
This commit is contained in:
+4
-2
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user