patch: publish to winget with gh action

This commit is contained in:
Begula 2022-05-06 14:48:24 +05:30 committed by Anton Belodedenko
parent 65da751a52
commit f9c8378d6a

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

@ -0,0 +1,13 @@
name: Publish to WinGet
on:
release:
types: [released]
jobs:
publish:
runs-on: windows-latest # action can only be run on windows
steps:
- uses: vedantmgoyal2009/vedantmgoyal2009/winget-pkgs-automation/releaser-action@v1.0.0
with:
identifier: Balena.Etcher
installer-regex: 'balenaEtcher-Setup.*.exe$'
token: ${{ secrets.WINGET_TOKEN }}