mirror of
https://github.com/nushell/nushell.git
synced 2024-11-07 17:14:23 +01:00
95a4649cc9
### Update winget submission workflow include only default msi files: --- The new release workflow after https://github.com/nushell/nushell/pull/10457 will add full featured packages like: `nu-*-x86_64-windows-msvc-full.msi` and `nu-*-aarch64-windows-msvc-full.msi` (A release preview could be found here: https://github.com/nushell/nightly/releases/tag/nightly-6a2fd91 ) and this change will make sure only the default packages will be included just the same as before to make sure that nothing will be broken. BTW: Due to lots of changes made recently about the release workflow, I will stand-by for the next release.
30 lines
915 B
YAML
30 lines
915 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
|
|
# Exclude all `*-msvc-full.msi` full release files,
|
|
# and only the default `*msvc.msi` files will be included
|
|
installers-regex: 'msvc\.msi$'
|
|
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
|