diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml index 1f0b4d00..9956d28d 100644 --- a/.github/workflows/sonarqube.yml +++ b/.github/workflows/sonarqube.yml @@ -29,11 +29,11 @@ jobs: - name: SonarQube PR if: github.event_name == 'pull_request' working-directory: jhdf - run: > - ./gradlew - -Dsonar.token=${{ secrets.SONAR_TOKEN }} - -Dsonar.pullrequest.branch=${{ github.ref }} - -Dsonar.pullrequest.key=${{ github.ref.name }} - -Dsonar.pullrequest.base=${{ github.base.ref }} - -Dsonar.pullrequest.github.repository=${{ github.server_url }}/${{ github.repository }} + run: | + ./gradlew \ + -Dsonar.token=${{ secrets.SONAR_TOKEN }} \ + -Dsonar.pullrequest.branch=${{ github.ref }} \ + -Dsonar.pullrequest.key=${{ github.ref.name }} \ + -Dsonar.pullrequest.base=${{ github.base.ref }} \ + -Dsonar.pullrequest.github.repository=${{ github.server_url }}/${{ github.repository }} \ checkstyle spotbugs jacocoTestReport sonar