Skip to content

Commit 76a5822

Browse files
Merge pull request #489 from TimeWarpEngineering/Cramer/2024-10-18/Pages
build: Add NuGet package caching to speed up workflow
2 parents 510a97a + a917c15 commit 76a5822

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: .github/workflows/publish-documentation.yml

+8
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ jobs:
4545
uses: actions/checkout@v4
4646
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
4747

48+
- name: Cache NuGet packages
49+
uses: actions/cache@v3
50+
with:
51+
path: ~/.nuget/packages
52+
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
53+
restore-keys: |
54+
${{ runner.os }}-nuget-
55+
4856
- name: Dotnet Setup
4957
uses: actions/setup-dotnet@v4
5058
with:

0 commit comments

Comments
 (0)