Browse Source
Add cache for Nuget packages
js/color-alpha-handling
AlexNDRmac
6 years ago
No known key found for this signature in database
GPG Key ID: ECCF738337BCF66F
1 changed files with
8 additions and
0 deletions
-
.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}}" |
|
|
|
|