mirror of
https://github.com/sharkdp/bat.git
synced 2025-03-15 15:18:45 +00: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 }}
|
${{ steps.debian-package.outputs.DPKG_PATH }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
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
|
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:
|
#### From prebuilt binaries:
|
||||||
|
|
||||||
You can download prebuilt binaries from the [Release page](https://github.com/sharkdp/bat/releases),
|
You can download prebuilt binaries from the [Release page](https://github.com/sharkdp/bat/releases),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user