Skip to content

Commit e6073af

Browse files
committed
Use actions/cache@v3
Hoping to get rid of this warning when running the _Retrieve cached NuGet packages_ step: > The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
1 parent c491831 commit e6073af

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,12 @@ jobs:
3535
- name: Install .NET SDK
3636
uses: actions/setup-dotnet@v1
3737
- name: Retrieve cached NuGet packages
38-
uses: actions/cache@v2
38+
uses: actions/cache@v3
3939
with:
4040
path: ~/.nuget/packages
4141
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
42+
restore-keys: |
43+
${{ runner.os }}-nuget-
4244
- name: Restore NuGet packages
4345
run: dotnet restore
4446
- name: Build solution

0 commit comments

Comments
 (0)