Browse Source

Add cache for Nuget packages

js/color-alpha-handling
AlexNDRmac 6 years ago
parent
commit
9d72a840d2
No known key found for this signature in database GPG Key ID: ECCF738337BCF66F
  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('**/ImageSharp*.csproj') }}
restore-keys: ${{ runner.os }}-nuget-
- name: Build
shell: pwsh
run: ./ci-build.ps1 "${{matrix.options.framework}}"

Loading…
Cancel
Save