File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -81,11 +81,11 @@ jobs:
81
81
SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
82
82
ConnectionStrings__DefaultConnection : ${{ env.CONNECTION_STRING }}
83
83
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
85
85
dotnet build --no-restore
86
86
dotnet test --no-build --verbosity normal --collect:"XPlat Code Coverage"
87
87
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 }}"
89
89
90
90
- name : Stop containers
91
91
if : always()
You can’t perform that action at this time.
0 commit comments