Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-kirienko authored Apr 4, 2024
1 parent 77a5053 commit 8dc1937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ jobs:
SONAR_SCANNER_VERSION: 4.6.1.2450
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
if: env.SONAR_TOKEN != ''
steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -178,6 +177,7 @@ jobs:
# https://community.sonarsource.com/t/analyzing-a-header-only-c-library/51468
- name: Run sonar-scanner
if: env.SONAR_TOKEN != ''
run: >
sonar-scanner
--define sonar.host.url="https://sonarcloud.io"
Expand Down

0 comments on commit 8dc1937

Please sign in to comment.