Skip to content

Commit 28859f2

Browse files
authored
Update continuous-integration-dotnet.yml (#416)
1 parent 1255ad3 commit 28859f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/continuous-integration-dotnet.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ jobs:
8181
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
8282
ConnectionStrings__DefaultConnection: ${{ env.CONNECTION_STRING }}
8383
run: |
84-
dotnet-sonarscanner begin /k:"DFE-Digital_academies-api" /o:"dfe-digital" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.coverageReportPaths=CoverageReport/SonarQube.xml
84+
dotnet-sonarscanner begin /k:"DFE-Digital_academies-api" /o:"dfe-digital" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.coverageReportPaths=CoverageReport/SonarQube.xml
8585
dotnet build --no-restore
8686
dotnet test --no-build --verbosity normal --collect:"XPlat Code Coverage"
8787
reportgenerator -reports:./**/coverage.cobertura.xml -targetdir:./CoverageReport -reporttypes:SonarQube
88-
dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
88+
dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
8989
9090
- name: Stop containers
9191
if: always()

0 commit comments

Comments
 (0)