Skip to content

Commit 6a789e9

Browse files
committed
further fix #6
1 parent a9545f0 commit 6a789e9

1 file changed

Lines changed: 4 additions & 13 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,7 @@ jobs:
4343
shell: powershell
4444
run: |
4545
dotnet tool install --global dotnet-coverage --version 17.6.4
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)
54-
dotnet restore ./Queryabl.sln
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"
46+
${{ runner.temp }}\scanner\dotnet-sonarscanner begin /k:"chrdek_QueryablDataCalc" /o:"chrdek" /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
47+
dotnet restore .\Queryabl\Queryabl.sln
48+
dotnet build .\Queryabl\Queryabl.csproj /t:Rebuild /p:Configuration=Debug
49+
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"

0 commit comments

Comments
 (0)