Browse Source

Add nuget caching to build

pull/5/head
Ionite 1 year ago
parent
commit
f7c3a4a16b
No known key found for this signature in database
  1. 8
      .github/workflows/build.yml

8
.github/workflows/build.yml

@ -22,6 +22,14 @@ jobs:
with: with:
dotnet-version: '6.0.x' dotnet-version: '6.0.x'
- name: Cache NuGet packages
uses: actions/cache@v1
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Install dependencies - name: Install dependencies
run: dotnet restore run: dotnet restore

Loading…
Cancel
Save