Skip to content

Commit 34cca3b

Browse files
authored
Merge pull request #59 from sitiom/patch-1
Add Winget Releaser workflow
2 parents d8727f2 + 5af6746 commit 34cca3b

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
- package-ecosystem: "gomod"
8+
directory: "/"
9+
schedule:
10+
interval: "daily"

.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)