From 016603c0e9c029912c8d791c3f692ca4d8ab789d Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Mon, 6 May 2024 14:23:51 -0400 Subject: [PATCH] - removes cache condition for tool install Signed-off-by: Vincent Biret --- .github/workflows/sonarcloud.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 39ea1cfa1b..d3fb2206ea 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -79,10 +79,9 @@ jobs: key: ${{ runner.os }}-sonar-scanner restore-keys: ${{ runner.os }}-sonar-scanner - name: Install SonarCloud scanner - if: steps.cache-sonar-scanner.outputs.cache-hit != 'true' shell: pwsh run: | - New-Item -Path ./.sonar/scanner -ItemType Directory + New-Item -Path ./.sonar/scanner -ItemType Directory -Force dotnet tool update dotnet-sonarscanner --tool-path ./.sonar/scanner - name: Build and analyze env: