Skip to content

Commit d2c3077

Browse files
committed
Use CI local vcpkg copy
Signed-off-by: Raul Metsma <raul@metsma.ee>
1 parent 24869e7 commit d2c3077

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/windows.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,13 @@ jobs:
6464
key: vcpkg-${{ matrix.configuration }}-${{ matrix.platform }}-${{ hashFiles('.github/vcpkg.json') }}
6565
- name: Prepare vcpkg
6666
if: matrix.configuration == 'Release'
67-
uses: lukka/run-vcpkg@v11
68-
with:
69-
vcpkgJsonGlob: .github/vcpkg.json
70-
runVcpkgInstall: true
7167
env:
7268
VCPKG_BINARY_SOURCES: clear;files,${{ github.workspace }}/vcpkg_cache,readwrite
7369
VCPKG_DEFAULT_TRIPLET: ${{ matrix.platform }}-windows-static
74-
VCPKG_INSTALLED_DIR: ${{ env.VCPKG_INSTALLED }}
70+
run: |
71+
C:\vcpkg\vcpkg install `
72+
--x-manifest-root ${{ github.workspace }}/.github `
73+
--x-install-root ${env:VCPKG_INSTALLED}
7574
- name: Install WIX
7675
run: powershell -ExecutionPolicy Bypass -File .github/setup-wix.ps1
7776
- name: Restore Cache

0 commit comments

Comments
 (0)