Skip to content

Commit b886823

Browse files
authored
Create WinGet workflow (#673)
* Create winget.yml * Merge WinGet workflow with CD
1 parent 0eb642a commit b886823

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/cd.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,16 @@ jobs:
5353
COMMITTER_TOKEN: ${{ secrets.BREW_TOKEN }}
5454
with:
5555
formula-name: onefetch
56+
57+
winget-pkg-release:
58+
needs: [ deploy ]
59+
runs-on: windows-latest
60+
61+
steps:
62+
- name: Publish executable to WinGet
63+
uses: vedantmgoyal2009/vedantmgoyal2009/winget-pkgs-automation/[email protected]
64+
with:
65+
identifier: o2sh.onefetch
66+
installers-regex: '\.exe$'
67+
delete-previous-version: 'true'
68+
token: ${{ secrets.WINGET_TOKEN }}

0 commit comments

Comments
 (0)