Skip to content

Commit

Permalink
Merge pull request #1439 from AlexNDRmac/ci-cache-action
Browse files Browse the repository at this point in the history
Add cache for Nuget packages
  • Loading branch information
JimBobSquarePants authored Nov 29, 2020
2 parents cad52a2 + 30e4c90 commit 976bdd5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ jobs:
git fetch --prune --unshallow
git submodule -q update --init --recursive
- name: Setup nuget cache
uses: actions/cache@v2
id: nuget-cache
with:
path: ~/.nuget
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/*.props', '**/*.targets') }}
restore-keys: ${{ runner.os }}-nuget-

- name: Build
shell: pwsh
run: ./ci-build.ps1 "${{matrix.options.framework}}"
Expand Down

0 comments on commit 976bdd5

Please sign in to comment.