From 8dc1937b7132d07e68ec92981749683059986b87 Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Thu, 4 Apr 2024 20:51:56 +0300 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3a1fa9c..aea0473 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: @@ -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"