fix token name mistake in github action

This commit is contained in:
2023-02-21 20:38:10 +01:00
parent 5b7d66d922
commit dddeea4024

View File

@@ -41,7 +41,7 @@ jobs:
- name: Run sonar-scanner - name: Run sonar-scanner
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }} # Put the name of your token here SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # Put the name of your token here
run: | run: |
# Set the property "sonar.cfamily.compile-commands" to the compilation database file # Set the property "sonar.cfamily.compile-commands" to the compilation database file
sonar-scanner --define sonar.host.url="${{ env.SONAR_HOST_URL }}" --define sonar.cfamily.compile-commands=build/compile_commands.json sonar-scanner --define sonar.host.url="${{ env.SONAR_HOST_URL }}" --define sonar.cfamily.compile-commands=build/compile_commands.json