Skip to content

Commit 5d808e2

Browse files
authored
Merge PR #5876: Backport "CI(github-actions): Automatically publish to WinGet"
2 parents 091919b + 3522377 commit 5d808e2

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/winget.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Publish to WinGet
2+
on:
3+
release:
4+
types: [released]
5+
jobs:
6+
publish:
7+
runs-on: windows-latest # action can only be run on windows
8+
steps:
9+
- name: Publish Mumble client
10+
uses: vedantmgoyal2009/winget-releaser@latest
11+
with:
12+
identifier: Mumble.Mumble.Client
13+
installers-regex: mumble_client.*.msi$
14+
token: ${{ secrets.WINGET_TOKEN }}
15+
16+
# The action will clone winget-pkgs again, to start fresh
17+
- name: Clean working directory
18+
run: Remove-Item -Recurse -Force .\winget-pkgs\
19+
20+
- name: Publish Mumble server
21+
uses: vedantmgoyal2009/winget-releaser@latest
22+
with:
23+
identifier: Mumble.Mumble.Server
24+
installers-regex: mumble_server.*.msi$
25+
token: ${{ secrets.WINGET_TOKEN }}

0 commit comments

Comments
 (0)