From 6fc30b21aeb7da403c7c33b5c1aa4bfac0537630 Mon Sep 17 00:00:00 2001 From: Repo Assist Date: Sat, 7 Mar 2026 03:38:33 +0000 Subject: [PATCH] ci: add NuGet cache to push-master release workflow The PR workflow has NuGet package caching but the release/publish workflow does not. This adds the same cache step to speed up the release build. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/push-master.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/push-master.yml b/.github/workflows/push-master.yml index bdef0bcde..e5831c9eb 100644 --- a/.github/workflows/push-master.yml +++ b/.github/workflows/push-master.yml @@ -20,6 +20,13 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: 8.0.400 + - name: Cache NuGet packages + uses: actions/cache@v4 + with: + path: ~/.nuget/packages + key: ${{ runner.os }}-nuget-${{ hashFiles('**/paket.lock') }} + restore-keys: | + ${{ runner.os }}-nuget- - name: Restore .NET local tools run: dotnet tool restore - name: Restore packages