bitovi/GH-PyPI-Publish
Publishes a Python package to github-hosted PyPI
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Jun 24, 2024
- License
- MIT
Pinned Snippet
uses: bitovi/github-actions-publish-github-pypi@89e685e44ba05ff25619ea49937f4c7e3e20cb42 # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| pypi-github-org | GitHub hosted PyPI repo's org | yes | — |
| pypi-github-repo | GitHub hosted PyPI repo | yes | — |
| github-token | GitHub token to use for triggering the publish workflow in the PyPI repo | yes | — |
| pypi-github-user | GitHub user to publish the package | no | pypi-publisher[bot] |
| pypi-github-workflow-filename | GitHub workflow filename to trigger | no | handle-publish.yaml |
| pypi-github-workflow-ref | GitHub branch/ref to use when triggering the workflow | no | main |
| checkout | Checkout the repo | no | true |
| python-version | Python version to use | yes | 3.8 |
| toml-file | Path to the toml file | no | pyproject.toml |
| archive-url | URL to the package archive. Defaults to {{ github.server_url }}/{{ github.repository }}/archive/refs/tags/{{ github.ref_name }}.tar.gz For private repos, use: git+ssh://git@github.com/{{ github.repository }}.git@{{ github.ref_name }}#egg={packag_name}-{toml_version} | no | — |
| archive-skip-sha | Skip calculating the sha256 of the archive | no | false |
Outputs
no outputs