From 9e9c0ceaf48ddbc3fe09850fb403708438edbed2 Mon Sep 17 00:00:00 2001 From: sitiom Date: Wed, 15 Feb 2023 15:47:12 +0800 Subject: Add Winget Releaser workflow (#3164) --- .github/workflows/winget.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/winget.yml (limited to '.github/workflows') 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 }} -- cgit v1.2.3