Skip to content

Commit 76f0f4b

Browse files
[Update] CodeQuality sonar.login to sonar.token
1 parent 979ef54 commit 76f0f4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/CodeQuality.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
4141
run: |
4242
dotnet tool install --global dotnet-sonarscanner
43-
dotnet sonarscanner begin /k:"STARIONGROUP_CDP4-SDK-Community-Edition" /o:"stariongroup" /d:sonar.login="$SONAR_TOKEN" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.reportsPaths="./CoverageResults/coverage.opencover.xml"
43+
dotnet sonarscanner begin /k:"STARIONGROUP_CDP4-SDK-Community-Edition" /o:"stariongroup" /d:sonar.token="$SONAR_TOKEN" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.reportsPaths="./CoverageResults/coverage.opencover.xml"
4444
4545
- name: Install dependencies
4646
run: dotnet restore CDP4-SDK.sln
@@ -54,4 +54,4 @@ jobs:
5454
- name: Sonarqube end
5555
env:
5656
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
57-
run: dotnet sonarscanner end /d:sonar.login="$SONAR_TOKEN"
57+
run: dotnet sonarscanner end /d:sonar.token="$SONAR_TOKEN"

0 commit comments

Comments
 (0)