From f9c8378d6a96e1c44d0bced0d3227a9930b9fd14 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/5] 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 9d674321b6ef55f7c41212c2ae3bf2250a04cb8b 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/5] 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$' From dc1d7bd1fd8673c460000986a83fe90360f755ee Mon Sep 17 00:00:00 2001 From: mcraa <6892971+mcraa@users.noreply.github.com> Date: Thu, 10 Nov 2022 17:33:44 +0100 Subject: [PATCH 3/5] fixed version of action to v1 --- .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 a3e15a77..e379b8cd 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: Balena.Etcher installer-regex: 'balenaEtcher-Setup.*.exe$' From f5b0a3023b3ccb0204b968d6e7cc424793258eaa Mon Sep 17 00:00:00 2001 From: mcraa <6892971+mcraa@users.noreply.github.com> Date: Fri, 16 Dec 2022 17:17:32 +0100 Subject: [PATCH 4/5] 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 e379b8cd..1614439d 100644 --- a/.github/workflows/winget.yml +++ b/.github/workflows/winget.yml @@ -10,4 +10,4 @@ jobs: with: identifier: Balena.Etcher installer-regex: 'balenaEtcher-Setup.*.exe$' - token: ${{ secrets.WINGET_TOKEN }} + token: ${{ secrets.GH_TOKEN_PUBLICREPO }} From a0388a43c34766187aff52bc70891f7e20dac5f6 Mon Sep 17 00:00:00 2001 From: Anton Belodedenko <2033996+ab77@users.noreply.github.com> Date: Mon, 19 Dec 2022 11:04:01 -0800 Subject: [PATCH 5/5] 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 1614439d..b826061e 100644 --- a/.github/workflows/winget.yml +++ b/.github/workflows/winget.yml @@ -10,4 +10,4 @@ jobs: with: identifier: Balena.Etcher installer-regex: 'balenaEtcher-Setup.*.exe$' - token: ${{ secrets.GH_TOKEN_PUBLICREPO }} + token: ${{ secrets.WINGET_PAT }}