From 0355e9f897b8c2ddbf5cd4667ea85ea15fa567e0 Mon Sep 17 00:00:00 2001 From: Vedant <83997633+vedantmgoyal2009@users.noreply.github.com> Date: Thu, 28 Jul 2022 20:14:08 +0530 Subject: [PATCH 1/2] Create winget.yml --- .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..b8c3c815 --- /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 # action can only be run on windows + steps: + - uses: vedantmgoyal2009/winget-releaser@latest + with: + identifier: RoyQu.RedPanda-C++ + installers-regex: 'MinGW.*.exe$' + token: ${{ secrets.WINGET_TOKEN }} From c505ee871c2d553f7cd2544615aa0ea385fb14bb Mon Sep 17 00:00:00 2001 From: Vedant <83997633+vedantmgoyal2009@users.noreply.github.com> Date: Thu, 29 Sep 2022 17:06:12 +0530 Subject: [PATCH 2/2] Update winget.yml --- .github/workflows/winget.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/winget.yml b/.github/workflows/winget.yml index b8c3c815..2adfbc38 100644 --- a/.github/workflows/winget.yml +++ b/.github/workflows/winget.yml @@ -6,7 +6,7 @@ jobs: publish: runs-on: windows-latest # action can only be run on windows steps: - - uses: vedantmgoyal2009/winget-releaser@latest + - uses: vedantmgoyal2009/winget-releaser@v1 with: identifier: RoyQu.RedPanda-C++ installers-regex: 'MinGW.*.exe$'