Create winget-release.yml

This commit is contained in:
Jonathan Chemla 2025-09-16 21:18:26 +02:00 committed by GitHub
parent 4532346e13
commit cd35848185
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

16
.github/workflows/winget-release.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Publish release to WinGet
on:
release:
types: [released]
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: vedantmgoyal9/winget-releaser@main
with:
identifier: MikeFarah.yq
installers-regex: 'yq_windows_amd64\.exe$'
version: ${{ github.event.release.tag_name }}
token: ${{ secrets.WINGET_TOKEN }}