Browse Source

Merge pull request #1439 from AlexNDRmac/ci-cache-action

Add cache for Nuget packages
js/color-alpha-handling
James Jackson-South 5 years ago
committed by GitHub
parent
commit
1946fe2f6c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      .github/workflows/build-and-test.yml

8
.github/workflows/build-and-test.yml

@ -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}}"

Loading…
Cancel
Save