Fix vcpkg install step to run from repo root so vcpkg.json manifest is found

Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-03-09 00:45:22 +00:00
parent 086db016d7
commit 69dc2ba246

View File

@ -64,12 +64,11 @@ jobs:
working-directory: ${{ github.workspace }} working-directory: ${{ github.workspace }}
run: | run: |
set -e set -e
cd submodules/vcpkg ./submodules/vcpkg/bootstrap-vcpkg.sh -disableMetrics
./bootstrap-vcpkg.sh -disableMetrics
for i in 1 2 3 4 5; do for i in 1 2 3 4 5; do
echo "vcpkg install attempt $i..." echo "vcpkg install attempt $i..."
if ./vcpkg install --triplet x64-linux; then if ./submodules/vcpkg/vcpkg install --triplet x64-linux; then
exit 0 exit 0
fi fi
echo "vcpkg install failed; sleeping before retry..." echo "vcpkg install failed; sleeping before retry..."