From 375f24956cf9c8d315c512552f0f8e2ff167c530 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Guilloux?= Date: Wed, 25 Oct 2023 21:20:45 +0200 Subject: [PATCH] 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. --- .github/workflows/release-linux.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release-linux.yml b/.github/workflows/release-linux.yml index b44c7eabee..29eea834e9 100644 --- a/.github/workflows/release-linux.yml +++ b/.github/workflows/release-linux.yml @@ -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