chore(cd): update version in winget-pkgs via GitHub Actions

This commit is contained in:
Kenichi Kamiya 2025-02-04 11:14:48 +09:00
parent 0d5f394082
commit f1b1095484
No known key found for this signature in database
GPG Key ID: 9BE4016A38165CCB

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

@ -0,0 +1,22 @@
name: Publish to WinGet
on:
release:
types: [released]
workflow_dispatch:
inputs:
tag_name:
description: 'Specific tag name'
required: true
type: string
jobs:
publish:
runs-on: windows-latest
steps:
# Avoid using commit hash specifiers until dependabot/renovatebot is introduced.
# See the background: https://github.com/vedantmgoyal9/winget-releaser/blob/4ffc7888bffd451b357355dc214d43bb9f23917e/README.md?plain=1#L36-L37
- uses: vedantmgoyal9/winget-releaser@v2
with:
identifier: 'alexpasmantier.television'
installers-regex: '-windows-x86_64\.zip$'
max-versions-to-keep: 5
token: ${{ secrets.PAT_FOR_WINGET_RELEASER }}