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 提交者 GitHub
父節點 8048baf435
當前提交 34ab8150bf
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 4AEE18F83AFDEB23

查看文件

@ -56,3 +56,12 @@ jobs:
ref: context.ref, ref: context.ref,
sha: mainRef.object.sha, 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 }}