Skip to content

Commit a10e818

Browse files
author
SonarTech
committed
Update GH Action
1 parent ad23822 commit a10e818

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ jobs:
3333
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} # SonarQube URL is stored in a GitHub secret
3434
with:
3535
# if you are using using sonarqube 10.5 or earlier, replace sonar.cfamily.compile-commands with sonar.cfamily.build-wrapper-output="${{ env.BUILD_WRAPPER_OUT_DIR }}"
36-
# as build-wrapper does not generate a compile_commands.json file before sonarqube 10.6
36+
# as build-wrapper does not generate a compile_commands.json file before sonarqube 10.6
3737
args: >
38-
--define sonar.cfamily.compile-commands="${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json"
38+
--define sonar.cfamily.compile-commands=${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json

0 commit comments

Comments
 (0)