File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -455,3 +455,15 @@ jobs:
455455 ${{ steps.debian-package.outputs.DPKG_PATH }}
456456 env :
457457 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
458+
459+ winget :
460+ name : Publish to Winget
461+ runs-on : ubuntu-latest
462+ needs : build
463+ if : startsWith(github.ref, 'refs/tags/v')
464+ steps :
465+ - uses : vedantmgoyal2009/winget-releaser@v2
466+ with :
467+ identifier : sharkdp.bat
468+ installers-regex : ' -pc-windows-msvc\.zip$'
469+ token : ${{ secrets.WINGET_TOKEN }}
Original file line number Diff line number Diff line change @@ -412,6 +412,13 @@ You can install `bat` via [scoop](https://scoop.sh/):
412412scoop install bat
413413```
414414
415+ #### With Winget
416+
417+ You can install ` bat ` via [ Winget] ( https://learn.microsoft.com/en-us/windows/package-manager/ ) :
418+ ``` bash
419+ winget install sharkdp.bat
420+ ```
421+
415422#### From prebuilt binaries:
416423
417424You can download prebuilt binaries from the [ Release page] ( https://github.com/sharkdp/bat/releases ) ,
You can’t perform that action at this time.
0 commit comments