File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,11 +39,11 @@ jobs:
3939 dotnet tool update dotnet-sonarscanner --tool-path ${{ runner.temp }}\scanner
4040 - name : Build and analyze
4141 env :
42- SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
42+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }} # Secure Environment presets = "$env:SONAR_TOKEN"
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 }}"
47- dotnet restore .\Queryabl\Queryabl .sln
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"
47+ dotnet restore .\Queryabl.sln
4848 dotnet build .\Queryabl\Queryabl.csproj /t:Rebuild /p:Configuration=Debug
4949 .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
You can’t perform that action at this time.
0 commit comments