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:
2
.github/workflows/after_release.yml
vendored
2
.github/workflows/after_release.yml
vendored
@@ -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
|
||||
|
||||
@@ -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)),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user