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
2023-10-23 17:44:54 +00:00
uses: vedantmgoyal2009/winget-releaser@e68d386d5d6a1cef8cb0fb5e62b77ebcb83e7d58 # 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