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 63
63
SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
64
64
shell : powershell
65
65
run : |
66
- .\.sonar\scanner\dotnet-sonarscanner begin /k:"web-eid_web-eid-authtoken-validation-dotnet" /o:"web-eid" /d:sonar.cs.opencover.reportsPaths="**/TestResults/**/coverage.opencover.xml" /d:sonar.cs.vstest.reportsPaths="**/TestResults/*.trx" /d:sonar.verbose=true /d:sonar.token="${{ secrets. SONAR_TOKEN }} " /d:sonar.host.url="https://sonarcloud.io"
66
+ .\.sonar\scanner\dotnet-sonarscanner begin /k:"web-eid_web-eid-authtoken-validation-dotnet" /o:"web-eid" /d:sonar.cs.opencover.reportsPaths="**/TestResults/**/coverage.opencover.xml" /d:sonar.cs.vstest.reportsPaths="**/TestResults/*.trx" /d:sonar.verbose=true /d:sonar.token="$env: SONAR_TOKEN" /d:sonar.host.url="https://sonarcloud.io"
67
67
dotnet build --configuration Release --no-restore src/WebEid.Security.sln
68
68
dotnet test src/WebEid.Security.sln --logger trx --collect:"XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover --results-directory "TestResults"
69
- .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets. SONAR_TOKEN }} "
69
+ .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="$env: SONAR_TOKEN"
You can’t perform that action at this time.
0 commit comments