From 262c3c14a617b5de1c178eb5a6f7d44d8f95b77f Mon Sep 17 00:00:00 2001 From: shenleban tongying Date: Fri, 12 Jul 2024 15:12:49 -0400 Subject: [PATCH] use vcpkg cache on windows release built too close https://github.com/xiaoyifang/goldendict-ng/issues/1681 --- .github/workflows/release-windows-vcpkg-cmake.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.github/workflows/release-windows-vcpkg-cmake.yml b/.github/workflows/release-windows-vcpkg-cmake.yml index a26445e2..29c68c12 100644 --- a/.github/workflows/release-windows-vcpkg-cmake.yml +++ b/.github/workflows/release-windows-vcpkg-cmake.yml @@ -106,16 +106,8 @@ jobs: } ] } - - name: setup vcpkg github caches variables - uses: actions/github-script@v7 - with: - script: | - core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); - core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || ''); - name: Build binaries id: build - env: - VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite" run: | # Launch-VsDevShell also provides Ninja & 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\Launch-VsDevShell.ps1' ` @@ -128,7 +120,6 @@ jobs: -DCMAKE_C_COMPILER="cl.exe" -DCMAKE_CXX_COMPILER="cl.exe" ` -DCMAKE_BUILD_TYPE=RelWithDebInfo ` -DWITH_FFMPEG_PLAYER=OFF ` - -DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_INSTALLATION_ROOT\scripts\buildsystems\vcpkg.cmake" ` -DWITH_VCPKG_BREAKPAD=ON cmake --build "./build_dir" - name: CPack create package