Skip to content

Commit

Permalink
Merge pull request coreybutler#885 from sitiom/winget-releaser
Browse files Browse the repository at this point in the history
Add Winget Releaser workflow
  • Loading branch information
coreybutler authored Jan 27, 2023
2 parents ac40eea + 7d2c159 commit 32df552
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
17 changes: 17 additions & 0 deletions .github/workflows/winget.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Publish to Winget

on:
release:
types: [released]

jobs:
publish:
# Action can only be run on windows
runs-on: windows-latest
steps:
- uses: vedantmgoyal2009/winget-releaser@v1
with:
identifier: CoreyButler.NVMforWindows
version: ${{ github.event.release.tag_name }}
installers-regex: 'nvm-setup\.exe$'
token: ${{ secrets.WINGET_TOKEN }}

0 comments on commit 32df552

Please sign in to comment.