File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4343 shell : powershell
4444 run : |
4545 dotnet tool install --global dotnet-coverage --version 17.6.4
46- ${{ runner.temp }}\scanner\dotnet-sonarscanner begin /k:"chrdek_QueryablDataCalc" /o:"chrdek" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
46+
47+ & "${{ runner.temp }}\scanner\dotnet-sonarscanner" begin `
48+ /k:"chrdek_QueryablDataCalc" `
49+ /o:"chrdek" `
50+ /d:sonar.login="$env:SONAR_TOKEN" `
51+ /d:sonar.host.url="https://sonarcloud.io"
52+
53+ # restore and build the solution (build the .sln to avoid missing project-path issues)
4754 dotnet restore ./Queryabl.sln
48- dotnet build .\Queryabl.csproj /t:Rebuild /p:Configuration=Debug
49- .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
55+ dotnet build ./Queryabl.sln /t:Rebuild /p:Configuration=Debug
56+
57+ # use the same scanner executable for end
58+ & "${{ runner.temp }}\scanner\dotnet-sonarscanner" end /d:sonar.login="$env:SONAR_TOKEN"
You can’t perform that action at this time.
0 commit comments