ci: allow manual submissions (#140)

This commit is contained in:
Lewis Crichton 2023-10-07 17:10:07 +01:00 committed by GitHub
parent 45f56c63a0
commit 9c95956c96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,12 @@ name: Submit to Winget Community Repo
on:
release:
types: [published]
workflow_dispatch:
inputs:
tag:
type: string
description: The release tag to submit
required: true
jobs:
winget:
@ -15,3 +21,4 @@ jobs:
identifier: Vencord.Vesktop
token: ${{ secrets.WINGET_PAT }}
installers-regex: '\.exe$'
release-tag: ${{ inputs.tag || github.event.release.tag_name }}