ci: publish signed MSI to winget on release#15
Merged
Conversation
Adds .github/workflows/winget.yml — fires on the `release: released` event and submits the MSI to microsoft/winget-pkgs as UmageAI.CodeShellManager via vedantmgoyal9/winget-releaser. Also workflow_dispatch-able with a `tag` input to backfill or retry. Requires repo secret WINGET_TOKEN (classic PAT, public_repo scope). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/winget.ymlsubmits the signed MSI to microsoft/winget-pkgs asUmageAI.CodeShellManagerafter each release.release: released(auto) andworkflow_dispatchwith ataginput (manual backfill / retry).Requires before this works
WINGET_TOKEN— a classic GitHub PAT withpublic_reposcope. Fine-grained tokens are not yet supported by the action.Backfilling v0.4.0
v0.4.0 was released before this workflow existed, so the
releaseevent won't fire for it. Once the secret is set, dispatch the workflow manually:```
gh workflow run winget.yml -f tag=v0.4.0
```
The action submits a PR to microsoft/winget-pkgs; review/merge happens on Microsoft's side and typically lands within a day.
Test plan
WINGET_TOKENsecret in repo settingstag=v0.4.0to seed the package on winget-pkgs🤖 Generated with Claude Code