Fixing SonarCloud integration - 6

This commit is contained in:
2024-05-05 02:39:56 +02:00
parent 12d56ebcc1
commit a1a1a667b3

View File

@@ -47,7 +47,7 @@ jobs:
coverage_file=$(find ./TestResults -name "coverage.opencover.xml" -type f)
if [ -f "$coverage_file" ]; then
if [-f "$coverage_file"]; then
.sonar\scanner\dotnet-sonarscanner begin /k:"csimonapastore_BasicDotnetTemplate" /o:"csimonapastore-github" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.coverage.opencover.reportsPaths="$coverage_file"
dotnet restore
dotnet build --no-incremental --no-restore --configuration Release