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

@ -21,6 +21,14 @@ jobs:
uses: actions/setup-dotnet@v3
with:
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
run: dotnet restore

Loading…
Cancel
Save