[CI] Give the Ninja leg the same vcpkg scope as the Visual Studio leg

This commit is contained in:
Lukas Brübach 2026-10-06 06:47:24 +02:00 • committed by BruebachL
parent d80c77bf6f
commit 24bb1de9b0

View file

@ -416,6 +416,13 @@ jobs:
qt_modules: qtimageformats qtmultimedia qtshadertools qtwebsockets
type: Release
variant: ' (Ninja)'
# The same scope as the Visual Studio leg, so both halves of the A/B
# start from the same vcpkg cache and the comparison is about the
# generator alone. Without it this leg's prefix is empty, which makes
# the cache action restore the whole vcpkg/ namespace and write entries
# that no scope claims. vcpkg_upload is deliberately left unset, so only
# the Visual Studio leg hands its archives over.
vcpkg_scope: 'vcpkg/windows10-x64-vs2026/'
name: ${{ matrix.os }} ${{ matrix.target }}${{ matrix.soc == 'Intel' && ' Intel' || '' }}${{ matrix.type == 'Debug' && ' Debug' || '' }}${{ matrix.variant }}
needs: configure