From 3243e2b8b62908274f1c70bc43cf20f9b9c552cb Mon Sep 17 00:00:00 2001 From: tooomm Date: Sat, 10 May 2025 19:31:16 +0200 Subject: [PATCH] vcpkg-cache /2 --- .github/workflows/desktop-build.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml index ea1efec12..a1045334e 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -378,21 +378,23 @@ jobs: arch: ${{matrix.qt_arch}} modules: ${{matrix.qt_modules}} - - name: Run vcpkg - uses: lukka/run-vcpkg@v11 - with: - runVcpkgInstall: false - doNotCache: true - env: - VCPKG_DEFAULT_TRIPLET: 'x64-windows' - VCPKG_DISABLE_METRICS: 1 - - name: Setup vcpkg cache id: vcpkg-cache uses: TAServers/vcpkg-cache@v3 with: token: ${{ secrets.GITHUB_TOKEN }} + - name: Run vcpkg + uses: lukka/run-vcpkg@v11 + with: + runVcpkgInstall: true + doNotCache: true + env: + VCPKG_DEFAULT_TRIPLET: 'x64-windows' + VCPKG_DISABLE_METRICS: 1 + VCPKG_FEATURE_FLAGS: 'binarycaching' # Possibly redundant, but explicitly sets the binary caching feature flag + VCPKG_BINARY_SOURCES: 'clear;files,${{ steps.vcpkg-cache.outputs.path }},readwrite' + - name: Build Cockatrice id: build shell: bash