Skip to content

ci: publish to PyPI on release (trusted publishing) - #1

Merged
kurok merged 1 commit into
mainfrom
ci/pypi-publish
Jun 9, 2026
Merged

kurok merged 1 commit into
mainfrom
ci/pypi-publish

Conversation

@kurok

@kurok kurok commented Jun 9, 2026

Copy link
Copy Markdown
Owner

Adds .github/workflows/publish.yml that builds an sdist + wheel and publishes to PyPI via Trusted Publishing (OIDC) when a GitHub Release is published.

  • No API token stored in the repo — uses GitHub's OIDC identity.
  • Verified locally: python -m build succeeds and twine check passes for both artifacts.

Requires a one-time PyPI Trusted Publisher setup before the first release will succeed (project claudecmd, owner kurok, repo pyclacmd, workflow publish.yml, environment pypi).

Add a publish workflow that builds sdist+wheel and uploads to PyPI using
OIDC trusted publishing (no stored token) when a GitHub Release is published.

Signed-off-by: kurok <22548029+kurok@users.noreply.github.com>
@kurok
kurok merged commit f1e08e1 into main Jun 9, 2026
1 check passed
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