From d4d79ed678ba4cb0ffd1799362cdd697d6fc2f29 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Mon, 25 Aug 2025 10:18:01 +0200 Subject: [PATCH] Update action.yml --- action.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/action.yml b/action.yml index 3fc150d..5d5deaf 100644 --- a/action.yml +++ b/action.yml @@ -292,24 +292,20 @@ runs: esac - cat > run_all.sh <<'EOF' - #!/bin/bash - set -e - set -x exec >>"$LOG_FILE" 2>&1 echo "⚡ Running tests and generating reports..." - # MAIN - inputs.test-run-cmd + cat > custom_cmd.sh <<'EOS' + ${{ inputs.test-run-cmd }} + EOS + + chmod +x custom_cmd.sh + ./custom_cmd.sh echo "▶️ END" EOF - chmod +x run_all.sh - ./run_all.sh - - awk '/=+ test session starts =+/{flag=1} /-+ JSON report -+/{flag=0} flag' outputs/full-output.log > outputs/raw-test-output.log awk '/=+ short test summary info =+/,/=+.* in .*s =+/' outputs/full-output.log > outputs/short-test-output.log