Build and Publish to PyPI
ActionsBuild and publish to PyPI for PEP 518 compliant projects (flit, poetry,...)
v1.1.0
LatestGithub action to build and publish to PyPI PEP 518 compliant projects (flit, poetry,...).
Usage:
- use: conchylicultor/pypi-build-publish@v1
with:
pypi-token: ${{ secrets.PYPI_API_TOKEN }}The action assume:
- The project has a
pyproject.toml(orsetup.py) in the top-level directory (otherwise setpath: "./path/to/project/"). - Python and pip are installed (e.g. by
actions/setup-python@v2).
pypi-token: (required) The PyPI API token to use.path: (optional) Directory of the project (containing thepyproject.toml). Default to root directory.
None.
Build and Publish to PyPI is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.