From 0078be8e9aab1e52e50646d3ef4c9aa310b24f81 Mon Sep 17 00:00:00 2001 From: Erik Date: Thu, 24 Jul 2025 01:27:27 -0500 Subject: [PATCH] Update Windows Github Actions runner from 2019 to 2022 (#309) * Attempt to update Windows action runner to 2022 * Fix VS path --- .github/workflows/check-builds.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-builds.yaml b/.github/workflows/check-builds.yaml index 6eaf5e0..4780b1b 100644 --- a/.github/workflows/check-builds.yaml +++ b/.github/workflows/check-builds.yaml @@ -60,7 +60,7 @@ jobs: path: bin windows-build: - runs-on: windows-2019 + runs-on: windows-2022 steps: - name: Set environment run: $s = $env:GITHUB_SHA.subString(0, 7); echo "SHORT_SHA=$s" >> $env:GITHUB_ENV @@ -75,7 +75,7 @@ jobs: $configurations = "Release" # "Debug" builds are disabled, since we don't really need them - $vsPath = "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise" + $vsPath = "C:\Program Files\Microsoft Visual Studio\2022\Enterprise" Import-Module "$vsPath\Common7\Tools\Microsoft.VisualStudio.DevShell.dll" Enter-VsDevShell -VsInstallPath $vsPath -SkipAutomaticLocation @@ -111,7 +111,7 @@ jobs: - name: Upload build artifact uses: actions/upload-artifact@v4 with: - name: 'windows-vs2019-bin-x64-${{ env.SHORT_SHA }}' + name: 'windows-vs2022-bin-x64-${{ env.SHORT_SHA }}' path: bin copy-artifacts: