Repository: sharkdp/hyperfine (language: rust)

Issue:
WinGet-based installation
It would be really great to be able to install this on Windows through the [windows package manager, `winget`](https://docs.microsoft.com/en-us/windows/package-manager/winget/).

(Sorry, I know I've hit a few of your repos now. I'm just going through my heavily-used Rust tools and making issues like this on your repos because it would be awesome to install them through the native PM ❤️ . Forgive me the slight spam)


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/94708. Please see https://github.com/sharkdp/bat/issues/1102#issuecomment-1404962018
@sitiom Thank you. We could probably add install instructions to the readme
@zkat Does the linked package work for you?
yes! Awesome, thank you :)
> @sitiom Thank you. We could probably add install instructions to the readme

Hmm, ok. Still waiting for the Winget Releaser issue to be resolved, though.



Fix patch:
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 5b67d5bae..0fe8d6c67 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -7,3 +7,7 @@ updates:
       time: "04:00"
       timezone: Europe/Berlin
     open-pull-requests-limit: 2
+  - package-ecosystem: "github-actions"
+    directory: "/"
+    schedule:
+      interval: "daily"
diff --git a/.github/workflows/winget.yml b/.github/workflows/winget.yml
new file mode 100644
index 000000000..3b95532ad
--- /dev/null
+++ b/.github/workflows/winget.yml
@@ -0,0 +1,14 @@
+name: Publish to Winget
+on:
+  release:
+    types: [released]
+
+jobs:
+  publish:
+    runs-on: windows-latest # Action can only run on Windows
+    steps:
+      - uses: vedantmgoyal2009/winget-releaser@v2
+        with:
+          identifier: sharkdp.hyperfine
+          installers-regex: '-pc-windows-msvc\.zip$'
+          token: ${{ secrets.WINGET_TOKEN }}


Test patch: