mirror of
https://github.com/nushell/nushell.git
synced 2024-11-26 02:13:47 +01:00
66e52b7cfc
# Description Other than simplifying the CI, [Winget Releaser](https://github.com/vedantmgoyal2009/winget-releaser) includes more metadata in the manifest as it uses [Komac](https://github.com/russellbanks/Komac). I recommend installing [Pull](https://github.com/apps/pull) on https://github.com/fdncred/winget-pkgs to automatically keep it up to date. If you want to see an example of a PR created using this action, see [microsoft/winget-pkgs/pulls (Pull request has been created with WinGet Releaser)](https://github.com/microsoft/winget-pkgs/pulls?q=is%3Apr+sort%3Aupdated-desc+Pull+request+has+been+created+with+WinGet+Releaser). > Migrate from [winget-pkgs-automation manifest](https://github.com/vedantmgoyal2009/vedantmgoyal2009/blob/main/winget-pkgs-automation/packages/n/nushell.nushell.json)
27 lines
746 B
YAML
27 lines
746 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: windows-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
|