summaryrefslogtreecommitdiffstats
path: root/.github/workflows/winget.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/winget.yml')
-rw-r--r--.github/workflows/winget.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/winget.yml b/.github/workflows/winget.yml
new file mode 100644
index 00000000..ca702326
--- /dev/null
+++ b/.github/workflows/winget.yml
@@ -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 }}