2022-06-15 14:35:28 +02:00
|
|
|
name: Submit Nushell package to Windows Package Manager Community Repository
|
2021-07-22 18:38:03 +02:00
|
|
|
|
|
|
|
on:
|
|
|
|
release:
|
2023-02-22 13:54:15 +01:00
|
|
|
types: [released]
|
|
|
|
workflow_dispatch:
|
|
|
|
inputs:
|
|
|
|
tag_name:
|
|
|
|
description: 'Specific tag name'
|
|
|
|
required: true
|
|
|
|
type: string
|
2021-07-22 18:38:03 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
winget:
|
|
|
|
name: Publish winget package
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
|
|
- name: Submit package to Windows Package Manager Community Repository
|
2023-02-22 13:54:15 +01:00
|
|
|
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
|