Update analysis.yml

This commit is contained in:
Zoe Roux 2021-04-17 01:30:16 +02:00
parent 93ffe7e570
commit 472a238d3a

View File

@ -32,8 +32,8 @@ jobs:
if: steps.cache-sonar-scanner.outputs.cache-hit != 'true' if: steps.cache-sonar-scanner.outputs.cache-hit != 'true'
shell: bash shell: bash
run: | run: |
mkdir -p ./sonar/scanner mkdir -p ./.sonar/scanner
dotnet tool update dotnet-sonarscanner --tool-path .\.sonar\scanner dotnet tool update dotnet-sonarscanner --tool-path ./.sonar/scanner
- name: Build and analyze - name: Build and analyze
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any