mirror of
https://github.com/nushell/nushell
synced 2024-12-27 05:23:11 +00: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.
29 lines
915 B
YAML
29 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
|