Skip to content

Commit 2f90c48

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

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
@@ -158,14 +158,13 @@ jobs:
158158
build-windows:
159159
runs-on: ${{ matrix.os }}
160160
env:
161-
VS_VERSION: ${{ (matrix.os == 'windows-2019' && '2019' || (matrix.os == 'windows-2022' && '2022' || '')) }}
161+
VS_VERSION: 2022
162162

163163
strategy:
164164
fail-fast: false
165165
matrix:
166166
os:
167-
- windows-2022
168-
- windows-2019
167+
- windows-2025
169168
platform: [x64, x86]
170169

171170
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
if "%PLATFORM%" == "x64" set FB_VS_ARCH=amd64
192191
if "%PLATFORM%" == "x64" set FB_PROCESSOR_ARCHITECTURE=AMD64

0 commit comments

Comments
 (0)