From b6e97fcecb0c6ca2f4efb4dc841b1c29a13bd7b4 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 3 Nov 2022 12:01:20 +0000 Subject: [PATCH] Update sonarqube.yml --- .github/workflows/sonarqube.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml index 227182028..c2d679eb2 100644 --- a/.github/workflows/sonarqube.yml +++ b/.github/workflows/sonarqube.yml @@ -13,8 +13,8 @@ jobs: name: Prepare runs-on: ubuntu-latest outputs: - reportPaths: ${{ steps.extraArgs.outputs.reportPaths }} - testExecutionReportPaths: ${{ steps.extraArgs.outputs.testExecutionReportPaths }} + reportPaths: ${{ steps.extra_args.outputs.reportPaths }} + testExecutionReportPaths: ${{ steps.extra_args.outputs.testExecutionReportPaths }} steps: - name: Download Artifact uses: actions/download-artifact@v3 @@ -22,7 +22,7 @@ jobs: name: coverage path: coverage - - id: extraArgs + - id: extra_args run: | coverage=$(find coverage -type f -name '*lcov.info' -printf "%p,") echo "{reportPaths}={$coverage}" >> $GITHUB_OUTPUT @@ -36,6 +36,6 @@ jobs: secrets: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} with: - extraArgs: | + extra_args: | -Dsonar.javascript.lcov.reportPaths=${{ needs.prepare.outputs.reportPaths }} -Dsonar.testExecutionReportPaths=${{ needs.prepare.outputs.testExecutionReportPaths }}