Skip to content

Commit 4b4c551

Browse files
Update sonar-analysis.yml
1 parent 0f89037 commit 4b4c551

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/sonar-analysis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,14 @@ jobs:
3030
- name: Run Build Wrapper
3131
run: build-wrapper-win-x86-64.exe --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} python gyp.config.py && node-gyp clean && node-gyp configure build
3232

33+
- run: ls ${{ env.BUILD_WRAPPER_OUT_DIR }}
34+
3335
- name: SonarQube Scan
3436
uses: SonarSource/sonarqube-scan-action@v5
3537
env:
3638
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
3739
with:
3840
args: >
39-
--define sonar.cfamily.build-wrapper-output="${{ env.BUILD_WRAPPER_OUT_DIR }}"
41+
--define sonar.cfamily.compile-commands="${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json"
4042
4143

0 commit comments

Comments
 (0)