Compare commits

...

1 Commits

Author SHA1 Message Date
Scott Hanselman
6317d691c5 ci: add NuGet cache to build and build-msix jobs (closes #135)
Reuses the same cache key as the test job (nuget-OS-csproj-hash).
Build runners now hit the warm cache populated by the test job.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-02 09:42:20 -07:00

View File

@ -74,6 +74,13 @@ jobs:
with:
dotnet-version: 10.0.x
- name: Cache NuGet packages
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: nuget-${{ runner.os }}-${{ hashFiles('**/*.csproj') }}
restore-keys: nuget-${{ runner.os }}-
- name: Restore WinUI Tray App
run: dotnet restore src/OpenClaw.Tray.WinUI -r ${{ matrix.rid }}
@ -133,6 +140,13 @@ jobs:
with:
dotnet-version: 10.0.x
- name: Cache NuGet packages
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: nuget-${{ runner.os }}-${{ hashFiles('**/*.csproj') }}
restore-keys: nuget-${{ runner.os }}-
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2