diff --git a/action.yml b/action.yml index a2fd8ca..da6d185 100644 --- a/action.yml +++ b/action.yml @@ -254,12 +254,11 @@ runs: set +e if [ -n "${{ inputs.test-run-cmd }}" ]; then echo "▶️ Running tests with wrapper: ${{ inputs.test-run-cmd }}" | tee -a $LOG_FILE - FULL_CMD="${{ inputs.test-run-cmd }} $CMD" - bash -c "$FULL_CMD" >> outputs/full-output.log 2>&1 + ${ { inputs.test-run-cmd } } $CMD >> outputs/full-output.log 2>&1 STATUS=$? else echo "▶️ Running tests (direct)" | tee -a $LOG_FILE - bash -c "$CMD" >> outputs/full-output.log 2>&1 + $CMD >> outputs/full-output.log 2>&1 STATUS=$? fi set -e