From a1a1a667b3fa3477145618091e23a274b3276974 Mon Sep 17 00:00:00 2001 From: csimonapastore Date: Sun, 5 May 2024 02:39:56 +0200 Subject: [PATCH] Fixing SonarCloud integration - 6 --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ef5ea78..2c13daf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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