Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI action for publishing package to WinGet #852

Closed
wants to merge 1 commit into from

Conversation

mdanish-kh
Copy link

This PR proposes to add a GitHub action for submitting the latest stable release to WinGet as it gets published. microsoft/winget-create is used as the tool for submitting the latest package.

Steps needed from maintainers

If the maintainers approve of these changes, they will need to do the following before merging this PR:

  1. Fork microsoft/winget-pkgs under a personal or bot account. I see a fork already created https://github.com/DaveTryon/winget-pkgs so I'm assuming that would be the one used here
  2. Create a public access token (classic) with public_repo scope from the user account where the fork exists.
  3. Store the created token in a repository secret here with the name WINGET_GITHUB_TOKEN

For reference, maintainers may see similar implemented actions in the following repos:
Terminal, DevHome, PowerToys, Oh-my-posh

@mdanish-kh mdanish-kh requested a review from a team as a code owner January 5, 2025 14:16
@DaveTryon DaveTryon added the needs triage Default status upon issue submission label Jan 6, 2025
@DaveTryon DaveTryon removed the needs triage Default status upon issue submission label Jan 23, 2025
@DaveTryon
Copy link
Contributor

Thanks for the suggestion, @mdanish-kh! Our release process goes through an ADO release pipeline, so this isn't something that we would implement via a GitHub action. That said, we'll see if we can convert our WinGet release (currently a manual process) to an automated step in the release pipeline.

@DaveTryon DaveTryon closed this Jan 23, 2025
@mdanish-kh
Copy link
Author

@mdanish-kh mdanish-kh deleted the winget-ci branch January 23, 2025 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants