mirror of
https://github.com/sharkdp/bat
synced 2024-11-08 19:10:41 +00:00
Add Winget Releaser workflow
This commit is contained in:
parent
1b2c69aee8
commit
33997106da
12
.github/workflows/CICD.yml
vendored
12
.github/workflows/CICD.yml
vendored
@ -431,3 +431,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: windows-latest # Action can only run on Windows
|
||||||
|
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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user