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] 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 }}