diff options
author | crupest <crupest@outlook.com> | 2020-06-03 21:25:39 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-06-03 21:25:39 +0800 |
commit | 325a7b930cf197ff0a42042d698849e752243eb3 (patch) | |
tree | 023334e972d0f403c122a46c29a89c095016099c /.github | |
parent | f6efa149ee219a92065435a4a2ed240ab84162da (diff) | |
download | timeline-325a7b930cf197ff0a42042d698849e752243eb3.tar.gz timeline-325a7b930cf197ff0a42042d698849e752243eb3.tar.bz2 timeline-325a7b930cf197ff0a42042d698849e752243eb3.zip |
CI: Use nuget cache.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yaml | 9 |
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:
|