From 34ab8150bf8b438964b7e52796f2123466e0cf76 Mon Sep 17 00:00:00 2001 From: sitiom Date: Tue, 14 Feb 2023 01:59:19 +0800 Subject: [PATCH] ci: add Winget Releaser workflow (#1623) Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- .github/workflows/release.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3ad8665..69b5aec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }}