Skip to content

Commit 82d942d

Browse files
authored
Update sonarqube.yml
1 parent ce6d0e2 commit 82d942d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/sonarqube.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ jobs:
2828

2929
- id: extra_args
3030
run: |
31-
coverage=$(find coverage -type f -name '*lcov.info' -printf "%p,")
31+
coverage=$(find coverage -type f -name '*lcov.info' | tr '\n' ',')
3232
echo "reportPaths=$coverage" >> $GITHUB_OUTPUT
33-
testResults=$(find coverage -type f -name '*test-report.xml' -printf "%p,")
33+
testResults=$(find coverage -type f -name '*test-report.xml' | tr '\n' ',')
3434
echo "testExecutionReportPaths=$testResults" >> $GITHUB_OUTPUT
3535
3636
sonarqube:
@@ -41,5 +41,5 @@ jobs:
4141
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
4242
with:
4343
extra_args: |
44-
-Dsonar.javascript.lcov.reportPaths=${{ needs.prepare.outputs.reportPaths }}
45-
-Dsonar.testExecutionReportPaths=${{ needs.prepare.outputs.testExecutionReportPaths }}
44+
-D"sonar.javascript.lcov.reportPaths=${{ needs.prepare.outputs.reportPaths }}"
45+
-D"sonar.testExecutionReportPaths=${{ needs.prepare.outputs.testExecutionReportPaths }}"

0 commit comments

Comments
 (0)