Skip to content

Commit 4335e55

Browse files
committed
ci: Run vcpkg with path prefix
The GHA VS installation includes its own vcpkg package manager, which is available since VS 17.6. This change avoids any ambiguity about which copy of vcpkg we run.
1 parent b5a2713 commit 4335e55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ jobs:
279279
run: |
280280
Set-Location "$env:VCPKG_INSTALLATION_ROOT"
281281
Add-Content -Path "triplets\x64-windows-static.cmake" -Value "set(VCPKG_BUILD_TYPE release)"
282-
vcpkg --vcpkg-root "$env:VCPKG_INSTALLATION_ROOT" integrate install
282+
.\vcpkg.exe --vcpkg-root "$env:VCPKG_INSTALLATION_ROOT" integrate install
283283
git rev-parse HEAD | Out-File -FilePath "$env:GITHUB_WORKSPACE\vcpkg_commit"
284284
Get-Content -Path "$env:GITHUB_WORKSPACE\vcpkg_commit"
285285

0 commit comments

Comments
 (0)