actions-marketplace-validations/pypi-publish
Upload Python distribution packages to PyPI
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit May 21, 2026
- License
- BSD
Pinned Snippet
uses: actions-marketplace-validations/pypa_gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| user | PyPI user | no | __token__ |
| password | Password for your PyPI user or an access token | no | — |
| repository-url | The repository URL to use | no | — |
| repository_url | [DEPRECATED] The repository URL to use | no | https://upload.pypi.org/legacy/ |
| packages-dir | The target directory for distribution | no | — |
| packages_dir | [DEPRECATED] The target directory for distribution | no | dist |
| verify-metadata | Check metadata before uploading | no | — |
| verify_metadata | [DEPRECATED] Check metadata before uploading | no | true |
| skip-existing | Do not fail if a Python package distribution exists in the target package index | no | — |
| skip_existing | [DEPRECATED] Do not fail if a Python package distribution exists in the target package index | no | false |
| verbose | Show verbose output. | no | true |
| print-hash | Show hash values of files to be uploaded | no | — |
| print_hash | [DEPRECATED] Show hash values of files to be uploaded | no | true |
| attestations | Enable support for PEP 740 attestations. Only works with PyPI and TestPyPI via Trusted Publishing. | no | true |
Outputs
no outputs