From 7a7d8ef4dab73639645ab120724d2008eb7b6288 Mon Sep 17 00:00:00 2001 From: solomoncyj Date: Wed, 1 Nov 2023 18:24:49 +0800 Subject: [PATCH 1/2] add winget ci --- .github/workflows/winget.yml | 13 +++++++++++++ 1 file changed, 13 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 00000000..80b4516b --- /dev/null +++ b/.github/workflows/winget.yml @@ -0,0 +1,13 @@ +name: Publish to WinGet +on: + release: + types: [released] +jobs: + publish: + runs-on: windows-latest + steps: + - uses: vedantmgoyal2009/winget-releaser@v2 + with: + identifier: Package.Identifier + installers-regex: 'windows.zip' + token: ${{ secrets.WINGET_TOKEN }} \ No newline at end of file From 223d0884a37960c3e7d479840b2370aaeb06fa8b Mon Sep 17 00:00:00 2001 From: solomoncyj Date: Sat, 4 Nov 2023 19:24:38 +0800 Subject: [PATCH 2/2] Update winget.yml --- .github/workflows/winget.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/winget.yml b/.github/workflows/winget.yml index 80b4516b..30b7d8bc 100644 --- a/.github/workflows/winget.yml +++ b/.github/workflows/winget.yml @@ -8,6 +8,6 @@ jobs: steps: - uses: vedantmgoyal2009/winget-releaser@v2 with: - identifier: Package.Identifier + identifier: fifty-six.Scarab installers-regex: 'windows.zip' - token: ${{ secrets.WINGET_TOKEN }} \ No newline at end of file + token: ${{ secrets.WINGET_TOKEN }}