Skip to content

Commit 0bddc04

Browse files
benaadamsclaude
andcommitted
Add cache-dependency-path for NuGet lock files
The setup-dotnet action looks for packages.lock.json in the repo root by default. Point it at the per-project lock files with a glob. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent bf2a166 commit 0bddc04

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
with:
2929
dotnet-version: '10.0.102'
3030
cache: true
31+
cache-dependency-path: '**/packages.lock.json'
3132

3233
- name: Restore dependencies
3334
run: dotnet restore

0 commit comments

Comments
 (0)