Skip to content

Conversation

vedantmgoyal9
Copy link
Contributor

@vedantmgoyal9 vedantmgoyal9 commented Sep 11, 2022

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

Checks

@Krzmbrzl
Copy link
Member

Is there a way for this action to check whether a release is a pre-release or a stable release and only publish in the latter case?

In the future we might also have e.g. a nightly release here on GitHub which we probably don't want to publish to WinGet 🤔

@vedantmgoyal9
Copy link
Contributor Author

The workflow uses the release [released] event type. So you will have to mark nightly builds as pre-releases when you publish them and the workflow will not publish nightly builds to WinGet.

image

@Krzmbrzl
Copy link
Member

Ah these are different triggers - perfect then 👍

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
@Krzmbrzl Krzmbrzl changed the title CI(GITHUB-ACTIONS): PUBLISH TO WINGET CI(github-actions): Automatically publish to WinGet Sep 11, 2022
@Krzmbrzl Krzmbrzl merged commit ac2e5bc into mumble-voip:master Sep 11, 2022
@Krzmbrzl
Copy link
Member

Thanks for adding this 👍

@Krzmbrzl
Copy link
Member

💚 All backports created successfully

Status Branch Result
1.4.x

Questions ?

Please refer to the Backport tool documentation

@Krzmbrzl
Copy link
Member

Krzmbrzl commented Sep 14, 2022

@vedantmgoyal2009 as it is, the workflow fails (for client and for server, but for different reasons): https://github.com/mumble-voip/mumble/actions/runs/3054747213/jobs/4927013330

@vedantmgoyal9
Copy link
Contributor Author

Please clone https://github.com/microsoft/winget-pkgs under @mumble-voip organisation and re-run the workflow.

Also, it looks like x64 binary for server has not been published?

@Krzmbrzl
Copy link
Member

Also, it looks like x64 binary for server has not been published?

Ah yes indeed - I missed those. Adding it right now.

re-run the workflow.

Will do, thanks 👍

@Krzmbrzl
Copy link
Member

Now it works 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Publishing to Windows Package Manager (WinGet)
3 participants