File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,11 +43,11 @@ jobs:
4343 dotnet tool update dotnet-sonarscanner --tool-path .\.sonar\scanner
4444 - name : Build and analyze
4545 env :
46- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Optional: Needed to get PR information, if any
46+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Optional Needed to get PR information if any
4747 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
4848 shell : powershell
4949 run : |
5050 dotnet tool install --global dotnet-coverage
51- .\.sonar\scanner\dotnet-sonarscanner begin /k:"chrdek_QueryablDataCalc" /o:"chrdek" /d:sonar.token="${{ secrets. SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
51+ .\.sonar\scanner\dotnet-sonarscanner begin /k:"chrdek_QueryablDataCalc" /o:"chrdek" /d:sonar.token=$ SONAR_TOKEN /d:sonar.host.url="https://sonarcloud.io"
5252 dotnet build .\Queryabl.csproj /t:Rebuild /p:Configuration=Debug
53- .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets. SONAR_TOKEN }}"
53+ .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token=$ SONAR_TOKEN
You can’t perform that action at this time.
0 commit comments