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

Open
wants to merge 1 commit into
base: main
Choose a base branch
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Default status upon issue submission
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants