ci: allow manual submissions (#140)
This commit is contained in:
7
.github/workflows/winget-submission.yml
vendored
7
.github/workflows/winget-submission.yml
vendored
@@ -3,6 +3,12 @@ name: Submit to Winget Community Repo
|
|||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types: [published]
|
types: [published]
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
tag:
|
||||||
|
type: string
|
||||||
|
description: The release tag to submit
|
||||||
|
required: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
winget:
|
winget:
|
||||||
@@ -15,3 +21,4 @@ jobs:
|
|||||||
identifier: Vencord.Vesktop
|
identifier: Vencord.Vesktop
|
||||||
token: ${{ secrets.WINGET_PAT }}
|
token: ${{ secrets.WINGET_PAT }}
|
||||||
installers-regex: '\.exe$'
|
installers-regex: '\.exe$'
|
||||||
|
release-tag: ${{ inputs.tag || github.event.release.tag_name }}
|
||||||
|
|||||||
Reference in New Issue
Block a user