From c0757a3086237248c6dcb4756e549c022ae5cd20 Mon Sep 17 00:00:00 2001 From: Alan Rynne Date: Thu, 9 May 2024 00:05:27 +0200 Subject: [PATCH] match to fallback key if nuget cache is not found --- .github/workflows/dotnet.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 64270fb166..ff67a211ff 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -21,6 +21,8 @@ jobs: with: path: ~/.nuget/packages key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} + restore-keys: | + ${{ runner.os }}-nuget- - name: NuGet Restore if: steps.cache.outputs.cache-hit != 'true' run: msbuild DUI3-DX.slnf -t:Restore /p:Configuration=Release /p:IsDesktopBuild=false