Skip to content

Commit

Permalink
Merge pull request #59 from sitiom/patch-1
Browse files Browse the repository at this point in the history
Add Winget Releaser workflow
  • Loading branch information
Code-Hex committed May 29, 2023
2 parents d8727f2 + 5af6746 commit 34cca3b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "daily"
12 changes: 11 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,14 @@ jobs:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}

winget:
runs-on: windows-latest # Action can only run on Windows
needs: release
steps:
- uses: vedantmgoyal2009/winget-releaser@v2
with:
identifier: codehex.Neo-cowsay
installers-regex: '_Windows_\w+\.zip$'
token: ${{ secrets.WINGET_TOKEN }}

0 comments on commit 34cca3b

Please sign in to comment.