Skip to content

Commit 5473030

Browse files
committed
8384158: GHA: Downgrade Windows GHA runners to windows-2022 temporarily
Reviewed-by: sgehwolf Backport-of: abbda0b
1 parent 18f797f commit 5473030

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/build-windows.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ on:
3131
platform:
3232
required: true
3333
type: string
34+
runs-on:
35+
required: true
36+
type: string
3437
extra-conf-options:
3538
required: false
3639
type: string
@@ -63,7 +66,7 @@ env:
6366
jobs:
6467
build-windows:
6568
name: build
66-
runs-on: windows-2025
69+
runs-on: ${{ inputs.runs-on }}
6770
defaults:
6871
run:
6972
shell: bash

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ jobs:
261261
uses: ./.github/workflows/build-windows.yml
262262
with:
263263
platform: windows-x64
264+
runs-on: windows-2022
264265
msvc-toolset-version: '14.44'
265266
msvc-toolset-architecture: 'x86.x64'
266267
configure-arguments: ${{ github.event.inputs.configure-arguments }}
@@ -273,6 +274,7 @@ jobs:
273274
uses: ./.github/workflows/build-windows.yml
274275
with:
275276
platform: windows-aarch64
277+
runs-on: windows-2022
276278
msvc-toolset-version: '14.44'
277279
msvc-toolset-architecture: 'arm64'
278280
make-target: 'hotspot'
@@ -330,4 +332,4 @@ jobs:
330332
with:
331333
platform: windows-x64
332334
bootjdk-platform: windows-x64
333-
runs-on: windows-2025
335+
runs-on: windows-2022

0 commit comments

Comments
 (0)