mirror of
https://github.com/nushell/nushell
synced 2024-12-27 05:23:11 +00:00
68a821c84a
<!-- if this PR closes one or more issues, you can automatically link the PR with them by using one of the [*linking keywords*](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword), e.g. - this PR should close #xxxx - fixes #xxxx you can also mention related issues, PRs or discussions! --> # Description <!-- Thank you for improving Nushell. Please, check our [contributing guide](../CONTRIBUTING.md) and talk to the core team before making major changes. Description of your pull request goes here. **Provide examples and/or screenshots** if your changes affect the user experience. --> Winget Releaser now supports non-Windows runners, and `ubuntu-latest` is generally faster.
26 lines
745 B
YAML
26 lines
745 B
YAML
name: Submit Nushell package to Windows Package Manager Community Repository
|
|
|
|
on:
|
|
release:
|
|
types: [released]
|
|
workflow_dispatch:
|
|
inputs:
|
|
tag_name:
|
|
description: 'Specific tag name'
|
|
required: true
|
|
type: string
|
|
|
|
jobs:
|
|
|
|
winget:
|
|
name: Publish winget package
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Submit package to Windows Package Manager Community Repository
|
|
uses: vedantmgoyal2009/winget-releaser@v2
|
|
with:
|
|
identifier: Nushell.Nushell
|
|
version: ${{ inputs.tag_name || github.event.release.tag_name }}
|
|
release-tag: ${{ inputs.tag_name || github.event.release.tag_name }}
|
|
token: ${{ secrets.NUSHELL_PAT }}
|
|
fork-user: fdncred
|