Use windows runner for publishing winget package (#42144)

Our new linux runners don't have powershell installed which causes the
`release-winget` job to fail. This simply runs that step on windows
instead.

Release Notes:

- N/A
This commit is contained in:
Julia Ryan
2025-11-06 14:13:03 -08:00
committed by GitHub
parent 2895d31d83
commit 8cccb5d4f5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ jobs:
webhook-url: ${{ secrets.DISCORD_WEBHOOK_RELEASE_NOTES }}
content: ${{ steps.get-content.outputs.string }}
publish_winget:
runs-on: namespace-profile-2x4-ubuntu-2404
runs-on: self-32vcpu-windows-2022
steps:
- id: set-package-name
name: after_release::publish_winget::set_package_name
@@ -116,7 +116,7 @@ fn publish_winget() -> NamedJob {
named::job(
Job::default()
.runs_on(runners::LINUX_SMALL)
.runs_on(runners::WINDOWS_DEFAULT)
.add_step(set_package_name)
.add_step(winget_releaser(&package_name)),
)