Skip to content

Commit 0078be8

Browse files
authored
Update Windows Github Actions runner from 2019 to 2022 (#309)
* Attempt to update Windows action runner to 2022 * Fix VS path
1 parent b617456 commit 0078be8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/check-builds.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
path: bin
6161

6262
windows-build:
63-
runs-on: windows-2019
63+
runs-on: windows-2022
6464
steps:
6565
- name: Set environment
6666
run: $s = $env:GITHUB_SHA.subString(0, 7); echo "SHORT_SHA=$s" >> $env:GITHUB_ENV
@@ -75,7 +75,7 @@ jobs:
7575
$configurations = "Release"
7676
# "Debug" builds are disabled, since we don't really need them
7777
78-
$vsPath = "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise"
78+
$vsPath = "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"
7979
8080
Import-Module "$vsPath\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"
8181
Enter-VsDevShell -VsInstallPath $vsPath -SkipAutomaticLocation
@@ -111,7 +111,7 @@ jobs:
111111
- name: Upload build artifact
112112
uses: actions/upload-artifact@v4
113113
with:
114-
name: 'windows-vs2019-bin-x64-${{ env.SHORT_SHA }}'
114+
name: 'windows-vs2022-bin-x64-${{ env.SHORT_SHA }}'
115115
path: bin
116116

117117
copy-artifacts:

0 commit comments

Comments
 (0)