From 0d7749d944af9eab0b1a8effedcfe13019d0c9c6 Mon Sep 17 00:00:00 2001 From: Rossmaxx <74815851+Rossmaxx@users.noreply.github.com> Date: Thu, 21 Nov 2024 00:03:58 +0530 Subject: [PATCH] Fix the MSVC CI fail happening due to outdated vcpkg (#7589) * switch to version 1 for msvc-dev-cmd github action * bump msvc build year * try refreshing vcpkg cache msvc * Revert "try refreshing vcpkg cache msvc" This reverts commit e8814f8cbd970073bd86cc80f31839102573975f. * try updating vcpkg manually * Revert "bump msvc build year" This reverts commit a95c75ee959c299a913ebeed4cd5f321c0ec372f. * messmerd's review comments * revert the version bump for msvc-dev-cmd * Fix `cd` command --------- Co-authored-by: Dalton Messmer --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 74134aabd..65fe8225a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -249,6 +249,12 @@ jobs: with: fetch-depth: 0 submodules: recursive + - name: Update vcpkg (TEMPORARY) + run: | + cd $env:VCPKG_INSTALLATION_ROOT + git pull + .\bootstrap-vcpkg.bat + shell: pwsh - name: Cache vcpkg dependencies id: cache-deps uses: actions/cache@v3