Generate client library + Publish 📦 to PyPI + Publish to GitHub Releases #10
publish.yml
on: workflow_dispatch
Generate Python client library
29s
Build and publish Python 🐍 distributions 📦 to TestPyPI and PyPI
34s
Publish to GitHub Releases
0s
Annotations
4 warnings
Build and publish Python 🐍 distributions 📦 to TestPyPI and PyPI
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: aws-actions/aws-secretsmanager-get-secrets@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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
|
Build and publish Python 🐍 distributions 📦 to TestPyPI and PyPI:
# >> PyPA publish to PyPI GHA: POTENTIALLY INVALID TOKEN <<#L1
It looks like you are trying to use an API token to authenticate in the package index and your token value does not start with "pypi-" as it typically should. This may cause an authentication error. Please verify that you have copied your token properly if such an error occurs.
|
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
|