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 Conrad Irwin
parent 01a9dbd6d6
commit 2f00fc1806
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,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

View File

@@ -136,7 +136,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)),
)