mirror of
https://github.com/alexpasmantier/television.git
synced 2025-06-03 01:50:12 +00:00
chore(cd): automatically bump winget-pkgs registered version (#340)
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.
This commit is contained in:
parent
0d5f394082
commit
fd8bf61009
6
.github/dependabot.yml
vendored
Normal file
6
.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: 'github-actions'
|
||||
directory: '/'
|
||||
schedule:
|
||||
interval: 'weekly'
|
20
.github/workflows/winget.yml
vendored
Normal file
20
.github/workflows/winget.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
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 }}
|
Loading…
x
Reference in New Issue
Block a user