Skip to content

Commit 3d37943

Browse files
committed
further fix #7
1 parent 6a789e9 commit 3d37943

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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 }}"

0 commit comments

Comments
 (0)