From 72519a0eb4f08862cedd72a470aa8c99c131bfb7 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 3 Feb 2025 14:25:56 +0000 Subject: [PATCH] Make sonarcloud.yml more reusable (#4681) Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- .github/workflows/sonarcloud.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 8b140997f..be869acb8 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -70,7 +70,7 @@ jobs: run: | coverage=$(find coverage -type f -name '*lcov.info' -printf '%h/%f,' | tr -d '\r\n' | sed 's/,$//g') echo "sonar.javascript.lcov.reportPaths=$coverage" >> sonar-project.properties - reports=$(find coverage -type f -name 'jest-sonar-report*.xml' -printf '%h/%f,' | tr -d '\r\n' | sed 's/,$//g') + reports=$(find coverage -type f -name '*sonar-report*.xml' -printf '%h/%f,' | tr -d '\r\n' | sed 's/,$//g') echo "sonar.testExecutionReportPaths=$reports" >> sonar-project.properties - name: "🩻 SonarCloud Scan"