go-sqlcmd icon indicating copy to clipboard operation
go-sqlcmd copied to clipboard

Add CI action for publishing package to WinGet

Open mdanish-kh opened this issue 11 months ago • 0 comments

  • Related to #131

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

mdanish-kh avatar Jan 05 '25 12:01 mdanish-kh