mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2025-01-23 15:18:29 +00:00
Add Winget Releaser workflow (#3164)
This commit is contained in:
parent
b3bf18b1c0
commit
9e9c0ceaf4
15
.github/workflows/winget.yml
vendored
Normal file
15
.github/workflows/winget.yml
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
name: Publish to Winget
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [released]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
runs-on: windows-latest # Action can only run on Windows
|
||||||
|
steps:
|
||||||
|
- uses: vedantmgoyal2009/winget-releaser@v2
|
||||||
|
with:
|
||||||
|
identifier: junegunn.fzf
|
||||||
|
version: ${{ github.event.release.tag_name }}
|
||||||
|
installers-regex: '-windows_(armv7|arm64|amd64)\.zip$'
|
||||||
|
token: ${{ secrets.WINGET_TOKEN }}
|
@ -136,15 +136,17 @@ git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
|
|||||||
### Windows
|
### Windows
|
||||||
|
|
||||||
Pre-built binaries for Windows can be downloaded [here][bin]. fzf is also
|
Pre-built binaries for Windows can be downloaded [here][bin]. fzf is also
|
||||||
available via [Chocolatey][choco] and [Scoop][scoop]:
|
available via [Chocolatey][choco], [Scoop][scoop], and [Winget][winget]:
|
||||||
|
|
||||||
| Package manager | Command |
|
| Package manager | Command |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| Chocolatey | `choco install fzf` |
|
| Chocolatey | `choco install fzf` |
|
||||||
| Scoop | `scoop install fzf` |
|
| Scoop | `scoop install fzf` |
|
||||||
|
| Winget | `winget install fzf` |
|
||||||
|
|
||||||
[choco]: https://chocolatey.org/packages/fzf
|
[choco]: https://chocolatey.org/packages/fzf
|
||||||
[scoop]: https://github.com/ScoopInstaller/Main/blob/master/bucket/fzf.json
|
[scoop]: https://github.com/ScoopInstaller/Main/blob/master/bucket/fzf.json
|
||||||
|
[winget]: https://github.com/microsoft/winget-pkgs/tree/master/manifests/j/junegunn/fzf
|
||||||
|
|
||||||
Known issues and limitations on Windows can be found on [the wiki
|
Known issues and limitations on Windows can be found on [the wiki
|
||||||
page][windows-wiki].
|
page][windows-wiki].
|
||||||
|
Loading…
x
Reference in New Issue
Block a user