From fd8f022eb1a441ab44092619d18d6e97ac615df2 Mon Sep 17 00:00:00 2001 From: Arun Sharma Date: Sun, 24 May 2026 13:03:39 -0700 Subject: [PATCH] Save Windows vcpkg cache before tests --- .github/workflows/build-and-deploy.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index f4302ca..396825e 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -47,8 +47,9 @@ jobs: "commit=$commit" >> $env:GITHUB_OUTPUT - name: Cache system dependencies (Windows) + id: vcpkg-cache if: matrix.platform == 'win32' - uses: actions/cache@v4 + uses: actions/cache/restore@v4 with: path: C:\vcpkg-binary-cache key: vcpkg-binary-cache-${{ runner.os }}-${{ steps.vcpkg-version.outputs.commit }}-arrow-x64-windows @@ -80,6 +81,13 @@ jobs: # Wire vcpkg into MSBuild so cl.exe finds arrow headers/libs automatically vcpkg integrate install + - name: Save system dependencies cache (Windows) + if: matrix.platform == 'win32' && steps.vcpkg-cache.outputs.cache-hit != 'true' + uses: actions/cache/save@v4 + with: + path: C:\vcpkg-binary-cache + key: ${{ steps.vcpkg-cache.outputs.cache-primary-key }} + # ── Build ────────────────────────────────────────────────────────────── - name: Download icebug prebuilt libs shell: bash