Add Winget Releaser workflow & Dependabot

This commit is contained in:
Ryan Caezar Itang
2022-11-19 13:22:23 +08:00
parent 053fb7ba2c
commit 7d2c1596f4
2 changed files with 23 additions and 0 deletions

17
.github/workflows/winget.yml vendored Normal file
View File

@@ -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 }}