diff options
author | Robert Adam <dev@robert-adam.de> | 2022-09-12 11:21:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-12 11:21:38 +0300 |
commit | 5d808e287e99b402b724e411a7a0848e00956a24 (patch) | |
tree | 1c5b4623cbbf931b88d0771b6d5d1cb9dc7eb25e | |
parent | 091919b96540554a47bf692ff76dd2cbcc158adc (diff) | |
parent | 3522377aa3f322d40567565b64b450d0a98a38e2 (diff) |
Merge PR #5876: Backport "CI(github-actions): Automatically publish to WinGet"v1.4.287
-rw-r--r-- | .github/workflows/winget.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/winget.yml b/.github/workflows/winget.yml new file mode 100644 index 000000000..38e04f8e4 --- /dev/null +++ b/.github/workflows/winget.yml @@ -0,0 +1,25 @@ +name: Publish to WinGet +on: + release: + types: [released] +jobs: + publish: + runs-on: windows-latest # action can only be run on windows + steps: + - name: Publish Mumble client + uses: vedantmgoyal2009/winget-releaser@latest + with: + identifier: Mumble.Mumble.Client + installers-regex: mumble_client.*.msi$ + token: ${{ secrets.WINGET_TOKEN }} + + # The action will clone winget-pkgs again, to start fresh + - name: Clean working directory + run: Remove-Item -Recurse -Force .\winget-pkgs\ + + - name: Publish Mumble server + uses: vedantmgoyal2009/winget-releaser@latest + with: + identifier: Mumble.Mumble.Server + installers-regex: mumble_server.*.msi$ + token: ${{ secrets.WINGET_TOKEN }} |