Repository: lsd-rs/lsd (language: rust)

Issue:
Support for winget
In the installation instructions, it says for Windows users to use `scoop`.
But `winget` is the official Windows package manager, and everyone already has this installed on their Windows 10 already without having to do anything, so I propose that this software is installable with `winget`.


Discussion / hints:
None of the existing pakcages are maintained by the lsd maintainers, but I'll keep this issue open to discuss on anything that can be done from the lsd side to help with packages or any other discussion around it.
I would recommend using Winget for GUI applications, and scoop.sh for CLI tools like lsd. I find that things run a lot smoother that way.

Just a recommendation, not a solution to the lack of lsd on Winget.

Fix patch:
diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml
index 7b046fcc7..3184f70e4 100644
--- a/.github/workflows/CICD.yml
+++ b/.github/workflows/CICD.yml
@@ -80,6 +80,9 @@ jobs:
           - { os: windows-latest , target: i686-pc-windows-msvc }
           - { os: windows-latest , target: x86_64-pc-windows-gnu }
           - { os: windows-latest , target: x86_64-pc-windows-msvc }
+    outputs:
+      DEPLOY: ${{ steps.vars.outputs.DEPLOY }}
+
     steps:
     - uses: actions/checkout@v1
     - name: Install any prerequisites
@@ -323,6 +326,18 @@ jobs:
       env:
         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 
+  winget:
+    runs-on: ubuntu-latest
+    needs: build
+    if: ${{ needs.build.outputs.DEPLOY }}
+    steps:
+      - name: Publish to Winget
+        uses: vedantmgoyal9/winget-releaser@main
+        with:
+          identifier: lsd-rs.lsd
+          installers-regex: 'pc-windows-msvc\.zip$'
+          token: ${{ secrets.WINGET_TOKEN }}
+
   coverage:
     name: Code Coverage
     runs-on: ${{ matrix.job.os }}


Test patch: