From f1b1095484df307fa9f3a4158abb18cd77464aa8 Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Tue, 4 Feb 2025 11:14:48 +0900 Subject: [PATCH] chore(cd): update version in winget-pkgs via GitHub Actions --- .github/workflows/winget.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/winget.yml diff --git a/.github/workflows/winget.yml b/.github/workflows/winget.yml new file mode 100644 index 0000000..429c229 --- /dev/null +++ b/.github/workflows/winget.yml @@ -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 }}