Merge branch 'master' of github.com:coreybutler/nvm-windows

This commit is contained in:
Corey Butler
2023-01-26 21:56:21 -06:00
3 changed files with 24 additions and 1 deletions

6
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"

View File

@@ -7,7 +7,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
- uses: actions/stale@v7
with:
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
stale-pr-message: 'This PR is stale because it has been open 45 days with no activity.'

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