Skip to content

Commit e85752a

Browse files
authored
CPP-5240 Migrate to sonar.cfamily.compile-commands
1 parent 7654428 commit e85752a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ jobs:
4444
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }} # Put the name of your token here
4545
run: >
4646
sonar-scanner
47-
--define sonar.cfamily.build-wrapper-output="${{ env.BUILD_WRAPPER_OUT_DIR }}"
47+
--define sonar.cfamily.compile-commands="${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json"
4848
--define sonar.cfamily.cobertura.reportPaths="cobertura.xml"

0 commit comments

Comments
 (0)