Skip to content

Commit cf6fedb

Browse files
authored
Add Winget Releaser workflow
1 parent d8727f2 commit cf6fedb

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,14 @@ jobs:
2222
args: release --rm-dist
2323
env:
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25-
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
25+
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
26+
27+
winget:
28+
runs-on: windows-latest # Action can only run on Windows
29+
needs: release
30+
steps:
31+
- uses: vedantmgoyal2009/winget-releaser@v2
32+
with:
33+
identifier: codehex.Neo-cowsay
34+
installers-regex: '_Windows_\w+\.zip$'
35+
token: ${{ secrets.WINGET_TOKEN }}

0 commit comments

Comments
 (0)