aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yaml')
-rw-r--r--.github/workflows/ci.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index be473c20..17852c94 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -56,10 +56,19 @@ jobs:
runs-on: ubuntu-latest
env:
ASPNETCORE_ENVIRONMENT: "Development"
+ NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
steps:
- uses: actions/checkout@v2
+ - name: Restore Cache
+ uses: actions/cache@v2
+ with:
+ path: ${{ env.NUGET_PACKAGES }}
+ key: nuget-${{ runner.os }}-${{ hashFiles('**/packages.lock.json') }}
+ restore-keys: |
+ nuget-${{ runner.os }}-
+
- name: Use .Net Core 3.1.x
uses: actions/setup-dotnet@v1
with: