mirror of
https://github.com/alexpasmantier/television.git
synced 2025-06-04 18:45:23 +00:00

Resolves #332 ref: https://github.com/microsoft/winget-pkgs/pull/220105, #298 I have added the [winget section in wiki](2e18237501...5695e45a36
). This PR aims to keep latest version in the winget-pkgs. [This action](https://github.com/vedantmgoyal9/winget-releaser) is widely used for this purpose. -3a56c32a1c/.github/workflows/CICD.yml (L261)
-bbe1721a18/.github/workflows/winget.yml (L10)
However I couldn't test this action in my environment. Could you test after registering the secret? Feel free to modify the code and/or secret name in this PR.
21 lines
547 B
YAML
21 lines
547 B
YAML
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:
|
|
- uses: vedantmgoyal9/winget-releaser@4ffc7888bffd451b357355dc214d43bb9f23917e # v2
|
|
with:
|
|
identifier: 'alexpasmantier.television'
|
|
installers-regex: '-windows-x86_64\.zip$'
|
|
max-versions-to-keep: 5
|
|
token: ${{ secrets.PAT_FOR_WINGET_RELEASER }}
|