Merge pull request #3780 from balena-io/actions

patch: introducing github actions (WinGet)
This commit is contained in:
Balena CI 2022-12-19 14:40:29 -05:00 committed by GitHub
commit 797345fc1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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/winget-releaser@v1
with:
identifier: Balena.Etcher
installer-regex: 'balenaEtcher-Setup.*.exe$'
token: ${{ secrets.WINGET_PAT }}