From 32cb44835a8cb7b77946e00e3652cd78820adb53 Mon Sep 17 00:00:00 2001 From: Per Kops Date: Tue, 7 May 2024 07:45:15 +0200 Subject: [PATCH] ci: sonar.login is deprecated - switching to sonar.token --- .github/workflows/post-integration.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/post-integration.yml b/.github/workflows/post-integration.yml index 061a4b4..9e897e2 100644 --- a/.github/workflows/post-integration.yml +++ b/.github/workflows/post-integration.yml @@ -62,9 +62,9 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} shell: pwsh run: | - dotnet sonarscanner begin /k:"atc-coding-rules-updater" /o:"atc-net" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" + dotnet sonarscanner begin /k:"atc-coding-rules-updater" /o:"atc-net" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" dotnet build -c Release /p:UseSourceLink=true --no-restore - dotnet sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}" + dotnet sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}" - name: ⏩ Merge to stable-branch run: |