Skip to content

Commit

Permalink
Cache dotnet-coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillGutyrchik committed Jun 14, 2024
1 parent b121af4 commit 9f4981e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,16 @@ jobs:
New-Item -Path .\.sonar\scanner -ItemType Directory
dotnet tool update dotnet-sonarscanner --tool-path .\.sonar\scanner
- name: Cache dotnet-coverage
id: cache-dotnet-coverage
uses: actions/cache@v4
with:
path: .\.dotnet\tools
key: ${{ runner.os }}-dotnet-coverage
restore-keys: ${{ runner.os }}-dotnet-coverage

- name: Install dotnet-coverage
if: steps.cache-dotnet-coverage.outputs.cache-hit != 'true'
shell: powershell
run: |
dotnet tool install --global dotnet-coverage
Expand Down

0 comments on commit 9f4981e

Please sign in to comment.