diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 37ed8ded6..761a69ae7 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -77,4 +77,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} run: | - sonar-scanner --define sonar.cfamily.build-wrapper-output="${{ env.BUILD_WRAPPER_OUT_DIR }}" + sonar-scanner --define sonar.cfamily.compile-commands="${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json"