From 38ceab598dac9aa66bea66a4defeb0884f45acc7 Mon Sep 17 00:00:00 2001 From: Begula <83997633+vedantmgoyal2009@users.noreply.github.com> Date: Fri, 6 May 2022 14:48:24 +0530 Subject: [PATCH 1/2] patch: publish to winget with gh action --- .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..bc52f253 --- /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/vedantmgoyal2009/winget-pkgs-automation/releaser-action@v1.0.0 + with: + identifier: Balena.Etcher + installer-regex: 'balenaEtcher-Setup.*.exe$' + token: ${{ secrets.WINGET_TOKEN }} From 001c43ca27b6b16294843dfa3db2b1c1a4111245 Mon Sep 17 00:00:00 2001 From: Vedant <83997633+vedantmgoyal2009@users.noreply.github.com> Date: Sun, 19 Jun 2022 00:07:58 +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 bc52f253..a3e15a77 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/vedantmgoyal2009/winget-pkgs-automation/releaser-action@v1.0.0 + - uses: vedantmgoyal2009/winget-releaser@latest with: identifier: Balena.Etcher installer-regex: 'balenaEtcher-Setup.*.exe$'