Publish Python π distributions π¦ to PyPI and TestPyPI #2
publish-to-test-pypi.yml
on: release
Build and publish Python π distributions π¦ to PyPI and TestPyPI
32s
Annotations
2 warnings
Build and publish Python π distributions π¦ to PyPI and TestPyPI
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Upgrade to Trusted Publishing
Trusted Publishers allows publishing packages to PyPI from automated environments like GitHub Actions without needing to use username/password combinations or API tokens to authenticate with PyPI. Read more: https://docs.pypi.org/trusted-publishers
|