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