go-sqlcmd
go-sqlcmd copied to clipboard
Add CI action for publishing package to WinGet
- 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:
- Fork microsoft/winget-pkgs under a personal or bot account.
- Create a public access token (classic) with
public_reposcope from the user account where the fork exists. - 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