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 #564

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.
  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 with the name WINGET_GITHUB_TOKEN

Once the fork is created, I'll update the fork name in the "Sync winget-pkgs fork" step

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

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.

1 participant