Skip to content

Commit 3e413e8

Browse files
committed
cache packages
1 parent 9263794 commit 3e413e8

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/dotnet.yml

+1-8
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,6 @@ jobs:
3131
file: |
3232
"**/SolutionAssemblyInfo.cs"
3333
version: ${{ env.FlowVersion }}.${{ env.BUILD_NUMBER }}
34-
- uses: actions/cache@v4
35-
name: Restore Nuget Cache
36-
with:
37-
path: |
38-
~/.nuget/packages
39-
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }}
40-
restore-keys: |
41-
${{ runner.os }}-nuget
4234
- uses: actions/cache@v4
4335
name: Restore dotnet tool Cache
4436
with:
@@ -51,6 +43,7 @@ jobs:
5143
uses: actions/setup-dotnet@v4
5244
with:
5345
dotnet-version: 9.0.x
46+
cache: true
5447
- name: Install vpk
5548
Install vpk tool (dotnet tool install will not reinstall if already installed)
5649
We will update the cli by removing cache

0 commit comments

Comments
 (0)