From ee95d6596500368426f27c526ba5fd3ec5b83610 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9D=A4=E6=98=AF=E7=BA=B1=E9=9B=BE=E9=85=B1=E5=93=9F?= =?UTF-8?q?=EF=BD=9E?= <49941141+Dragon1573@users.noreply.github.com> Date: Thu, 21 Nov 2024 13:17:17 +0800 Subject: [PATCH] New feature: Automatically publish to WinGet (#441) Signed-off-by: Dragon1573 <49941141+Dragon1573@users.noreply.github.com> --- .github/workflows/winget.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/winget.yaml diff --git a/.github/workflows/winget.yaml b/.github/workflows/winget.yaml new file mode 100644 index 00000000..c6b8fe68 --- /dev/null +++ b/.github/workflows/winget.yaml @@ -0,0 +1,15 @@ +name: Publish to WinGet + +on: + release: + types: released + +jobs: + publish: + runs-on: windows-latest + steps: + - uses: vedantmgoyal9/winget-releaser@main + with: + token: ${{ secrets.WINGET_TOKEN }} + identifier: xfangfang.Wiliwili + installers-regex: '^^wiliwili-Windows-[a-zA-Z0-9_]*.zip$'