diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88be3f0..5c02e8d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }} @@ -136,6 +143,13 @@ jobs: - name: Setup MSBuild uses: microsoft/setup-msbuild@v2 + - 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 run: dotnet restore src/OpenClaw.Tray.WinUI -r ${{ matrix.rid }}