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