Add Winget Releaser workflow

This commit is contained in:
Ryan Caezar Itang 2023-03-07 11:35:57 +08:00 committed by David Peter
parent e38e3078ac
commit c9afbc5b70
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 }}