project-client/.github/workflows/winget-submission.yml

26 lines
684 B
YAML
Raw Normal View History

2023-08-27 20:27:23 +00:00
name: Submit to Winget Community Repo
on:
release:
types: [published]
2023-10-07 16:10:07 +00:00
workflow_dispatch:
inputs:
tag:
type: string
description: The release tag to submit
required: true
2023-08-27 20:27:23 +00:00
jobs:
winget:
name: Publish winget package
runs-on: ubuntu-latest
2023-08-27 20:27:23 +00:00
steps:
- name: Submit package to Winget Community Repo
uses: vedantmgoyal2009/winget-releaser@52ef3f3028ed79a9606d7678d0a88d295bc0c690 # v2
with:
identifier: Vencord.Vesktop
token: ${{ secrets.WINGET_PAT }}
installers-regex: '\.exe$'
2023-10-07 16:10:07 +00:00
release-tag: ${{ inputs.tag || github.event.release.tag_name }}
fork-user: shiggybot