Skip to content

Commit a8238f1

Browse files
authored
Pin to windows-2022 runners (#737)
* Fix CI: Pin to windows-2022 runners Windows 2025 runners removed all preinstalled SDKs except latest, breaking all CI builds. Pin to windows-2022 to restore SDK availability. Changes: - windows-latest → windows-2022 (test if D drive disk space fixed) - windows-latest-large → windows-2022-large (prep fallback) - Update tooling submodule with same fix Related: CommunityToolkit/Labs-Windows#741 * Change to windows-2022 for build and package jobs
1 parent 4187dad commit a8238f1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ env:
3232
jobs:
3333
# This workflow contains a single job called "Xaml-Style-Check"
3434
Xaml-Style-Check:
35-
runs-on: windows-latest
35+
runs-on: windows-2022
3636

3737
# Steps represent a sequence of tasks that will be executed as part of the job
3838
steps:
@@ -57,7 +57,7 @@ jobs:
5757
# Build both Uno.UI/WinUI2/UWP and Uno.WinUI/WinUI3/WindowsAppSDK versions of our packages using a matrix
5858
build:
5959
needs: [Xaml-Style-Check]
60-
runs-on: windows-latest-large
60+
runs-on: windows-2022
6161

6262
# See https://docs.github.com/actions/using-jobs/using-a-matrix-for-your-jobs
6363
strategy:
@@ -202,7 +202,7 @@ jobs:
202202
dotnet-dump analyze ${{ steps.detect-dump.outputs.DUMP_FILE }} -c "clrstack" -c "pe -lines" -c "exit"
203203
204204
package:
205-
runs-on: windows-latest-large
205+
runs-on: windows-2022
206206
needs: [build]
207207
strategy:
208208
fail-fast: false # prevent one matrix pipeline from being cancelled if one fails, we want them all to run to completion.
@@ -313,7 +313,7 @@ jobs:
313313
sign:
314314
needs: [package]
315315
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/rel/') }}
316-
runs-on: windows-latest
316+
runs-on: windows-2022
317317
permissions:
318318
id-token: write # Required for requesting the JWT
319319

0 commit comments

Comments
 (0)