Repository: sharkdp/fd (language: rust)

Issue:
WinGet-based installation
It would be really great to be able to install `fd` on Windows through the [windows package manager, `winget`](https://docs.microsoft.com/en-us/windows/package-manager/winget/).


Discussion / hints:
see my comment here: https://github.com/sharkdp/bat/issues/1102
I'm going to close this, as I don't really see any value in tracking this here. Let me know if someone thinks otherwise.
PR: https://github.com/microsoft/winget-pkgs/pull/94714. Please see https://github.com/sharkdp/bat/issues/1102#issuecomment-1404962018

Fix patch:
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 2cebf5b06..8c6f2434f 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -4,3 +4,7 @@ updates:
     directory: "/"
     schedule:
       interval: "monthly"
+  - package-ecosystem: "github-actions"
+    directory: "/"
+    schedule:
+      interval: "daily"
diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml
index 594706191..501b951f3 100644
--- a/.github/workflows/CICD.yml
+++ b/.github/workflows/CICD.yml
@@ -361,3 +361,15 @@ jobs:
           ${{ steps.debian-package.outputs.DPKG_PATH }}
       env:
         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
+  winget:
+    name: Publish to Winget
+    runs-on: windows-latest # Action can only run on Windows
+    needs: build
+    if: startsWith(github.ref, 'refs/tags/v')
+    steps:
+      - uses: vedantmgoyal2009/winget-releaser@v2
+        with:
+          identifier: sharkdp.fd
+          installers-regex: '-pc-windows-msvc\.zip$'
+          token: ${{ secrets.WINGET_TOKEN }}


Test patch: