Skip to content

Commit 9aaed2a

Browse files
committed
fix: change dotnet tool update to install for dotnet-coverage in workflow
1 parent 6dad0a9 commit 9aaed2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
if: matrix.platform.name == 'MacOS'
7070
run: |
7171
dotnet restore
72-
dotnet tool update --global dotnet-coverage
72+
dotnet tool install --global dotnet-coverage
7373
./.sonar/scanner/dotnet-sonarscanner begin /k:"magic5644_codeLineCounter" /o:"magic5644" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml /d:sonar.scanner.scanAll=false
7474
dotnet build --no-incremental
7575
dotnet-coverage collect 'dotnet test --no-build' -f xml -o 'coverage.xml'

0 commit comments

Comments
 (0)