Skip to content

Commit 345b64c

Browse files
authored
Preserve Sonar warning line breaks in workflow
1 parent 99b0049 commit 345b64c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
2323
- name: Warn when SonarQube scan fails
2424
if: ${{ steps.sonarqube_scan.outcome == 'failure' }}
25-
run: >
25+
run: |
2626
echo "::warning::SonarQube scan failed. This can be caused by transient Sonar host connectivity issues.
2727
Check the SonarQube step logs at ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
2828
and re-run the workflow if needed."

0 commit comments

Comments
 (0)