Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ jobs:
# The action searches for packages.lock.json in the repository root,
# calculates their hash, and uses it as a part of the cache key.
cache: true
# Use cache-dependency-path for cases when multiple dependency files
# are used, or they are located in different subdirectories.
cache-dependency-path: |
Dotnet.Samples.AspNetCore.WebApi/packages.lock.json
Dotnet.Samples.AspNetCore.WebApi.Tests/packages.lock.json

- name: Restore dependencies
run: dotnet restore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<NuGetLockFilePath>../packages.lock.json</NuGetLockFilePath>
</PropertyGroup>

<ItemGroup>
Expand Down
Loading
Loading