Add Winget Releaser workflow

This commit is contained in:
Ryan Caezar Itang 2023-03-07 11:35:57 +08:00
parent 904434e978
commit 884a509f75
No known key found for this signature in database
GPG Key ID: E7C6E0E004B3AED1
1 changed files with 14 additions and 0 deletions

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 # Action can only run on Windows
steps:
- uses: vedantmgoyal2009/winget-releaser@v2
with:
identifier: sharkdp.fd
installers-regex: '-pc-windows-msvc\.zip$'
token: ${{ secrets.WINGET_TOKEN }}