diff options
| author | Hiroshi SHIBATA <shibata.hiroshi@gmail.com> | 2026-07-30 16:40:33 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2026-07-31 10:40:04 +0900 |
| commit | 3ebc78956853639fd8a49606f8d867bb74ad0112 (patch) | |
| tree | 294a5c6eae537750731691f952b3cdc895239ec0 | |
| parent | b92c8c225351f6d61a8aabd54e6f57d5a7503a53 (diff) | |
Re-bootstrap vcpkg after updating its registryruby_3_4
microsoft/vcpkg bumped `scripts/vcpkg-tools.json` to schema version 2,
which the vcpkg.exe bundled in the runner images cannot parse, so every
Windows job started failing at `vcpkg install` right after the `git pull`.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
(cherry picked from commit f275e95ff23f1a299b2a72fc47758de539db8dde)
| -rw-r--r-- | .github/workflows/tarball-windows.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/tarball-windows.yml b/.github/workflows/tarball-windows.yml index 9c8c57a77b..0b8a7508d7 100644 --- a/.github/workflows/tarball-windows.yml +++ b/.github/workflows/tarball-windows.yml @@ -90,8 +90,12 @@ jobs: "VCPKG_BINARY_SOURCES=clear;nuget,$Env:FEED_URL,$Env:FEED_MODE" >> $Env:GITHUB_ENV - name: Install libraries with vcpkg + # The registry pinned by `builtin-baseline` can need a newer tool + # than the vcpkg.exe shipped in the runner image, so re-bootstrap + # it to the version the pulled registry asks for. run: | git -C "%VCPKG_INSTALLATION_ROOT%" pull --quiet + call "%VCPKG_INSTALLATION_ROOT%\bootstrap-vcpkg.bat" vcpkg install working-directory: ${{ inputs.archname }} |
