summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorsitiom <sitiom@proton.me>2023-02-15 15:47:12 +0800
committerGitHub <noreply@github.com>2023-02-15 16:47:12 +0900
commit9e9c0ceaf48ddbc3fe09850fb403708438edbed2 (patch)
treee10b4bb7508c5a07f88103fcfbe142b5741cb66c /.github
parentb3bf18b1c08524af8d1e80c53bc6017706fc6ca1 (diff)
Add Winget Releaser workflow (#3164)
Diffstat (limited to '.github')
-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 }}