-
Notifications
You must be signed in to change notification settings - Fork 19
Upgrade GitHub Actions runner images to windows-2025 and install Windows SDKs #312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Arlodotexe
merged 2 commits into
main
from
check,ci/runner,images,github,actions/improvement/windows-2025,upgrade,windows-sdks/5.12.2026,arlodotexe
May 13, 2026
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
|
|
||
| $WinSdkTempDir = "C:\WinSdkTemp\" | ||
| $WinSdkSetupExe = "C:\WinSdkTemp\" + "WinSdkSetup.exe" | ||
|
|
||
| mkdir $WinSdkTempDir | ||
|
|
||
| $client = [System.Net.WebClient]::new() | ||
| $client.DownloadFile("https://go.microsoft.com/fwlink/p/?linkid=870807", $WinSdkSetupExe) | ||
|
|
||
| Start-Process -Wait $WinSdkSetupExe "/features OptionId.UWPCpp /q" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to consider just using
windows-latest?I know this would mean the runner could swap out from under us and disrupt the CI, but they already modify named images, and in this case an issue would more likely represent a deprecation that we should migrate from.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We pinned the runner because we haven't had the bandwidth to be proactive about moving ourselves to the latest as it changed under us.
For now, according to the github runner images docs, we have until the next GA release to get off of
windows-2022and ontowindows-2025, so that we're not rug-pulled regardingwindows-2022for the whole image when the nextwindows-latestGA release happens afterwindows-2025.The full window is between either:
windows-latestrelease is.We're currently somewhere in the middle by pinning to
windows-2025-- not at risk of using EOL, not at risk of using newer images with missing dependencies.Regarding the way github updates the dependencies in the runner itself, they only explicitly spell out their deprecation policy (dependencies can be removed when they're EOL) but past behavior heavily implies that they don't intentionally remove dependencies on existing runners otherwise.
Let's stay pinned to a specific runner version for now.