code-specialist/PyPI Poetry Publish

Opinionated GitHub action to fully automate publishing packages to any PyPI registry - using Poetry and GitHub releases

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Apr 9, 2023
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: code-specialist/pypi-poetry-publish@ec93221fb6b8d9d7f2e1e4866840a5df2f8588e3 # v1.2

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

namedescriptionrequireddefault
ACCESS_TOKENAccess Token for GitHub with write access on the repositoryyes
PYTHON_VERSIONPython Versionno3.10
PACKAGE_DIRECTORYDirectory of the packageno./
PUBLISH_REGISTRY_PASSWORDPassword for the user to publish to PyPI. May also be a Token - requires the `PUBLISH_REGISTRY_USERNAME` to be `__token__`yes
PUBLISH_REGISTRY_USERNAMEThe username for the registry. Defaults to __token__no__token__
POETRY_VERSIONThe version of Poetry to useno""
POETRY_CORE_VERSIONThe version of Poetry Core to useno""
BRANCHBranch to publish fromnomaster
POETRY_DEPENDENCY_REGISTRY_URLAllows to define a custom registry to be used by Poetry for dependency installationno
POETRY_DEPENDENCY_REGISTRY_NAMEThe name used for the custom registry in the dependenciesno
POETRY_DEPENDENCY_REGISTRY_USERNAMEThe username for the custom registryno
POETRY_DEPENDENCY_REGISTRY_PASSWORDThe password for the custom registryno
POETRY_DEPENDENCY_REGISTRY_AUTHThe authentication type for the custom registrynohttp-basic
PUBLISH_REGISTRYThe registry to publish tonohttps://upload.pypi.org/legacy/

no outputs