mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-21 23:33:26 +01:00
Merge pull request #2519 from sitiom/winget-releaser
Add Winget Releaser workflow
This commit is contained in:
commit
81a217b1f3
12
.github/workflows/CICD.yml
vendored
12
.github/workflows/CICD.yml
vendored
@ -455,3 +455,15 @@ jobs:
|
||||
${{ steps.debian-package.outputs.DPKG_PATH }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
winget:
|
||||
name: Publish to Winget
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
steps:
|
||||
- uses: vedantmgoyal2009/winget-releaser@v2
|
||||
with:
|
||||
identifier: sharkdp.bat
|
||||
installers-regex: '-pc-windows-msvc\.zip$'
|
||||
token: ${{ secrets.WINGET_TOKEN }}
|
||||
|
@ -412,6 +412,13 @@ You can install `bat` via [scoop](https://scoop.sh/):
|
||||
scoop install bat
|
||||
```
|
||||
|
||||
#### With Winget
|
||||
|
||||
You can install `bat` via [Winget](https://learn.microsoft.com/en-us/windows/package-manager/):
|
||||
```bash
|
||||
winget install sharkdp.bat
|
||||
```
|
||||
|
||||
#### From prebuilt binaries:
|
||||
|
||||
You can download prebuilt binaries from the [Release page](https://github.com/sharkdp/bat/releases),
|
||||
|
Loading…
Reference in New Issue
Block a user