Skip to content

Commit

Permalink
Merge PR #5876: Backport "CI(github-actions): Automatically publish t…
Browse files Browse the repository at this point in the history
…o WinGet"
  • Loading branch information
Krzmbrzl authored Sep 12, 2022
2 parents 091919b + 3522377 commit 5d808e2
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/winget.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 5d808e2

Please sign in to comment.