File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -35,18 +35,14 @@ jobs:
3535
3636 - name : Install SonarCloud scanner
3737 if : steps.cache-sonar-scanner.outputs.cache-hit != 'true'
38- shell : pwsh
39- run : |
40- New-Item -Path .\.sonar\scanner -ItemType Directory
41- dotnet tool update dotnet-sonarscanner --tool-path .\.sonar\scanner
38+ run : dotnet tool update dotnet-sonarscanner --tool-path ./.sonar/scanner
4239
4340 - name : Build and analyze
4441 env :
4542 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
4643 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
47- shell : pwsh
4844 run : |
49- .\ .sonar\ scanner\ dotnet-sonarscanner begin /k:"notion-dotnet_notion-sdk-net" /o:"notion-dotnet" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
45+ ./ .sonar/ scanner/ dotnet-sonarscanner begin /k:"notion-dotnet_notion-sdk-net" /o:"notion-dotnet" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
5046 dotnet restore
5147 dotnet build --no-restore
52- .\ .sonar\ scanner\ dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
48+ ./ .sonar/ scanner/ dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
You can’t perform that action at this time.
0 commit comments