From 27a885f87166e4eb6d67947bc010dcdb84ba5cba Mon Sep 17 00:00:00 2001 From: Arlo Date: Thu, 2 Oct 2025 13:07:14 -0500 Subject: [PATCH] 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. Related: https://github.com/CommunityToolkit/Labs-Windows/issues/741 --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 07a81960..48de22f7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ env: jobs: # This workflow contains a single job called "Xaml-Style-Check" Xaml-Style-Check: - runs-on: windows-latest + runs-on: windows-2022 # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -89,7 +89,7 @@ jobs: # Test job to build the project template project-template: - runs-on: windows-latest + runs-on: windows-2022 env: HEADS_DIRECTORY: tooling/ProjectHeads PROJECT_DIRECTORY: tooling/ProjectTemplate @@ -139,7 +139,7 @@ jobs: # Test job to build a single experiment to ensure our changes work for both our main types of solutions at the moment new-experiment: - runs-on: windows-latest + runs-on: windows-2022 strategy: fail-fast: false # prevent one matrix pipeline from being cancelled if one fails, we want them all to run to completion.