ci: add workflow for WinGet (#5365)

This commit is contained in:
nerix 2024-04-28 13:36:01 +02:00 committed by GitHub
parent eafcb941f5
commit 80cf1e533c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

14
.github/workflows/winget.yml vendored Normal file
View file

@ -0,0 +1,14 @@
name: Publish to WinGet
on:
release:
types: [released]
jobs:
publish:
runs-on: windows-latest
if: ${{ startsWith(github.event.release.tag_name, 'v') }}
steps:
- uses: vedantmgoyal2009/winget-releaser@v2
with:
identifier: ChatterinoTeam.Chatterino
installers-regex: ^Chatterino.Installer.exe$
token: ${{ secrets.WINGET_TOKEN }}