From 3fff1e2f318792af9249feebe64ccc6dc6664322 Mon Sep 17 00:00:00 2001 From: igoogolx <27353191+igoogolx@users.noreply.github.com> Date: Tue, 27 Feb 2024 14:25:41 +0800 Subject: [PATCH] ci: winget --- .github/workflows/winget.yml | 15 +++++++++++++++ 1 file changed, 15 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 0000000..23998b0 --- /dev/null +++ b/.github/workflows/winget.yml @@ -0,0 +1,15 @@ +name: Publish to WinGet +on: + release: + types: [released] +jobs: + publish: + # Action can only be run on windows + runs-on: windows-latest + steps: + - uses: vedantmgoyal2009/winget-releaser@v2 + with: + identifier: igoogolx.itun2socks + max-versions-to-keep: 5 # keep only latest 5 versions + installers-regex: '.*windows_amd64.zip$' # Only .exe files + token: ${{ secrets.WINGET_TOKEN }}