File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ concurrency:
2828 cancel-in-progress : true
2929jobs :
3030 sonarcloud :
31- runs-on : windows -latest
31+ runs-on : ubuntu -latest
3232 permissions :
3333 contents : read
3434 steps :
@@ -65,19 +65,18 @@ jobs:
6565 env :
6666 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
6767 USE_MOCK_SERVER : ${{ vars.USE_MOCK_SERVER }}
68- shell : powershell
6968 run : |
70- .\.sonar\scanner\dotnet-sonarscanner begin `
71- /k:"Tsingis_bitcoin-web-api" `
72- /o:"tsingis" `
73- /d:sonar.token="${{ env.SONAR_TOKEN }}" `
74- /d:sonar.host.url="https://sonarcloud.io" `
75- /d:sonar.cs.vscoveragexml.reportsPaths="coverage.xml" `
69+ .\.sonar\scanner\dotnet-sonarscanner begin \
70+ /k:"Tsingis_bitcoin-web-api" \
71+ /o:"tsingis" \
72+ /d:sonar.token="${{ env.SONAR_TOKEN }}" \
73+ /d:sonar.host.url="https://sonarcloud.io" \
74+ /d:sonar.cs.vscoveragexml.reportsPaths="coverage.xml" \
7675 /d:sonar.scanner.scanAll=false
7776
7877 dotnet restore --locked-mode
7978 dotnet build --no-restore
8079 dotnet tool run dotnet-coverage collect "dotnet test --no-restore --no-build" -f xml -o "coverage.xml"
8180
82- .\.sonar\scanner\dotnet-sonarscanner end `
81+ .\.sonar\scanner\dotnet-sonarscanner end \
8382 /d:sonar.token="${{ env.SONAR_TOKEN }}"
You can’t perform that action at this time.
0 commit comments