Files
nvm-windows/.github/workflows/winget.yml
2022-11-19 13:22:23 +08:00

18 lines
418 B
YAML

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