Skip to content

Add workflow for publishing package to WinGet repository#51948

Open
mdanish-kh wants to merge 3 commits intoanthropics:mainfrom
mdanish-kh:winget-action
Open

Add workflow for publishing package to WinGet repository#51948
mdanish-kh wants to merge 3 commits intoanthropics:mainfrom
mdanish-kh:winget-action

Conversation

@mdanish-kh
Copy link
Copy Markdown

@mdanish-kh mdanish-kh commented Apr 22, 2026

PR creates a GitHub action workflow to trigger on every stable release to publish Claude Code package to WinGet repository. microsoft/winget-create is the tool used for creating and submitting the manifest

Steps needed from maintainers

  • Add a repository secret named WINGET_CREATE_GITHUB_TOKEN that's a public access token (classic) with public_repo scope from the user account where the winget-pkgs fork will exist for submitting a PR. Recommend using a bot account for this purpose.

Validation

To validate one can just run the same powershell commands listed in the workflow job, but omit the --submit flag to prevent opening an actual PR.

curl.exe -JLO https://aka.ms/wingetcreate/latest
.\wingetcreate.exe update Anthropic.ClaudeCode `
  --version 10.0.0 `
  --urls https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/2.0.76/win32-x64/claude.exe https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/2.0.76/win32-arm64/claude.exe

@mdanish-kh
Copy link
Copy Markdown
Author

Re-opens #17163 after incorrect DMCA

@mdanish-kh
Copy link
Copy Markdown
Author

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.

[FEATURE] Publish to WinGet repository from release CI / CD

1 participant