From efac7e18fbc8d3b02fc8eb4fe1b654c762c0304f Mon Sep 17 00:00:00 2001 From: Ryan Caezar Itang Date: Tue, 7 Mar 2023 10:12:40 +0800 Subject: [PATCH] ci: add winget releaser workflow --- .github/workflows/winget.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/winget.yml diff --git a/.github/workflows/winget.yml b/.github/workflows/winget.yml new file mode 100644 index 000000000..db79b3aa3 --- /dev/null +++ b/.github/workflows/winget.yml @@ -0,0 +1,14 @@ +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: Rclone.Rclone + installers-regex: '-windows-\w+\.zip$' + token: ${{ secrets.WINGET_TOKEN }}