mirror of
https://github.com/coreybutler/nvm-windows.git
synced 2025-09-10 02:39:12 +00:00
Add Winget Releaser workflow & Dependabot
This commit is contained in:
6
.github/dependabot.yml
vendored
Normal file
6
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
17
.github/workflows/winget.yml
vendored
Normal file
17
.github/workflows/winget.yml
vendored
Normal 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 }}
|
Reference in New Issue
Block a user