Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVedant <83997633+vedantmgoyal2009@users.noreply.github.com>2022-09-11 08:18:38 +0300
committerRobert Adam <dev@robert-adam.de>2022-09-11 10:19:32 +0300
commit4551e98c856bd9527128ee301a5a4fa82bd43d9a (patch)
tree721b789cdd4f3ba09d55a22b3a998672f83dab47
parent98fb1cd8b42ce5020a9696c571ca470fe7cd569b (diff)
CI(github-actions): Automatically publish to WinGet
This commit introduces an automatic approach that will publish the Windows installers to the WinGet repository every time a release is created on GitHub. Fixes #5870
-rw-r--r--.github/workflows/winget.yml25
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 }}