pollymc/.github/workflows/winget.yml

16 lines
379 B
YAML
Raw Normal View History

2022-06-28 16:41:52 +05:30
name: Publish to WinGet
on:
release:
types: [released]
jobs:
publish:
runs-on: windows-latest
steps:
- uses: vedantmgoyal2009/winget-releaser@v1
2022-06-28 16:41:52 +05:30
with:
identifier: PolyMC.PolyMC
version: ${{ github.event.release.tag_name }}
installers-regex: 'PolyMC-Windows-Setup-.+\.exe$'
2022-06-28 16:41:52 +05:30
token: ${{ secrets.WINGET_TOKEN }}