Fix: [CI] Installed (and cached) vcpkg packages are never upgraded in release-linux workflow (#11396)

Other workflows use a per image cache because images provide a fixed vcpkg clone.
This commit is contained in:
Loïc Guilloux 2023-10-25 21:20:45 +02:00 committed by GitHub
parent f78c2c9810
commit 375f24956c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -116,6 +116,9 @@ jobs:
cd /vcpkg
./bootstrap-vcpkg.sh -disableMetrics
# Once installed (and cached) a package will never be upgraded unless we do it ourselves.
./vcpkg upgrade --no-dry-run
# Make Python3 available for other packages.
./vcpkg install python3
ln -sf $(pwd)/installed/x64-linux/tools/python3/python3.[0-9][0-9] /usr/bin/python3