Skip to content

Commit e4a112f

Browse files
committed
Remove Windows 2019 runner due to deprecation and replace Windows 2022 by Windows 2025.
1 parent 2b9bd0e commit e4a112f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,13 @@ jobs:
156156
if: github.ref_type != 'tag'
157157
runs-on: ${{ matrix.os }}
158158
env:
159-
VS_VERSION: ${{ (matrix.os == 'windows-2019' && '2019' || (matrix.os == 'windows-2022' && '2022' || '')) }}
159+
VS_VERSION: 2022
160160

161161
strategy:
162162
fail-fast: false
163163
matrix:
164164
os:
165-
- windows-2022
166-
- windows-2019
165+
- windows-2025
167166
platform: [x64, x86]
168167

169168
steps:
@@ -186,7 +185,7 @@ jobs:
186185
shell: cmd
187186
env:
188187
PLATFORM: ${{ matrix.platform }}
189-
VS_SCRIPT: ${{ matrix.os == 'windows-2022' && 'C:\Program Files\Microsoft Visual Studio\%VS_VERSION%\Enterprise\Common7\Tools\VsDevCmd.bat' || 'C:\Program Files (x86)\Microsoft Visual Studio\%VS_VERSION%\Enterprise\Common7\Tools\VsDevCmd.bat' }}
188+
VS_SCRIPT: C:\Program Files\Microsoft Visual Studio\%VS_VERSION%\Enterprise\Common7\Tools\VsDevCmd.bat
190189
run: |
191190
set SEVENZIP=C:\Program Files\7-Zip
192191
set INNO6_SETUP_PATH=C:\Program Files (x86)\Inno Setup 6

0 commit comments

Comments
 (0)