We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d7ef07 commit 38e6887Copy full SHA for 38e6887
.github/actions/build/action.yml
@@ -55,10 +55,20 @@ runs:
55
dotnet-version: ${{ inputs.dotnet_sdk_version }}
56
cache: true
57
cache-dependency-path: "**/packages.lock.json"
58
-
+
59
+ - name: Restore NuGet packages
60
+ id: cache-nuget
61
+ uses: actions/cache@v3.3.2
62
+ with:
63
+ path: |
64
+ ~/.nuget/packages
65
+ key: ${{ runner.os }}-nuget-cache-${{ hashFiles('inputs.search-pattern') }}
66
+ restore-keys: |
67
+ ${{ runner.os }}-nuget-cache-${{ hashFiles('inputs.search-pattern') }}
68
69
- name: 'Restore packages with .NET CLI'
70
shell: bash
- run: dotnet restore ${{ inputs.search-pattern }}
71
+ run: dotnet restore
72
73
- name: 'Build with .NET CLI'
74
0 commit comments