ci: add Winget Releaser workflow (#1623)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
sitiom 2023-02-14 01:59:19 +08:00 committed by GitHub
parent 8048baf435
commit 34ab8150bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,3 +56,12 @@ jobs:
ref: context.ref,
sha: mainRef.object.sha,
});
winget:
needs: release
runs-on: windows-latest # Action can only run on Windows
steps:
- uses: vedantmgoyal2009/winget-releaser@v2
with:
identifier: nektos.act
installers-regex: '_Windows_\w+\.zip$'
token: ${{ secrets.WINGET_TOKEN }}