diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index c541df6..55d7e20 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -20,11 +20,11 @@ jobs: - name: Parse test results run: | - echo "${{ steps.run_tests.outputs.result }}" | while read -r line; do + while IFS= read -r line; do if [[ $line == *"Passed!"* ]]; then echo "Test ${line#*#} - Passed" else echo "Test ${line#*#} - Failed" exit 1 fi - done + done <<< "${{ steps.run_tests.outputs.result }}"