lfreleng-actions/📦 PyPI Publish Package

Publishes a Python project to the Python Package Index

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 6, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: lfreleng-actions/pypi-publish-action@8e46bf1bb34889591549c37d949d38fee1ab2d6b # v0.1.9

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
path_prefixDirectory location containing project codeno.
environmentEnvironment used to source credentialsnoproduction
tagTag/version string for this release/buildyes—
artefact_pathPath/location to build artefactsnodist
artefact_patternPattern to download multiple artefactsno—
one_password_itemPath to 1Password vault credential for PyPIno—
op_service_account_token1Password service account credential to access vaultno—
pypi_credentialPyPI API credential from GitHub secretsno—
trusted_publishingControls trusted publishing behaviour (auto/true/false)noauto
publish_disableDisables the final publishing step that uploads packagesnofalse
attestationsEnables upload/publishing support for attestationsnofalse
no_checkoutDo not checkout local repository; used for testingnofalse

no outputs