Repository: alexpasmantier/television (language: rust)

Issue:
Add winget packaging
**Problem**
Compared to scoop, winget comes pre-installed on Windows machines and is more performant in searching for packages

**Feature**
Add winget packaging to CD

**Examples**
[Here](https://github.com/nushell/nushell/blob/main/.github/workflows/winget-submission.yml) is an example usage of the [winget-releaser](https://github.com/vedantmgoyal9/winget-releaser) GitHub workflow


Discussion / hints:
Thanks for the feedback.

Opened an issue here: https://github.com/microsoft/winget-pkgs/issues/221012

Fix patch:
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000..b18fd29
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,6 @@
+version: 2
+updates:
+  - package-ecosystem: 'github-actions'
+    directory: '/'
+    schedule:
+      interval: 'weekly'
diff --git a/.github/workflows/winget.yml b/.github/workflows/winget.yml
new file mode 100644
index 0000000..04e544c
--- /dev/null
+++ b/.github/workflows/winget.yml
@@ -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 }}


Test patch: