Skip to content

Commit

Permalink
match to fallback key if nuget cache is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanRynne committed May 8, 2024
1 parent e8d5efb commit c0757a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c0757a3

Please sign in to comment.