Skip to content

Build and publish to PyPI #1

Build and publish to PyPI

Build and publish to PyPI #1

Manually triggered December 8, 2024 19:37
Status Failure
Total duration 27s
Artifacts

build-publish-pypi.yml

on: workflow_dispatch
Build/publish package to PyPI
21s
Build/publish package to PyPI
Fit to window
Zoom out
Zoom in

Annotations

4 warnings
attestations input ignored
The workflow was run with the 'attestations: true' input, but an explicit password was also set, disabling Trusted Publishing. As a result, the attestations input is ignored.
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
Create a Trusted Publisher
A new Trusted Publisher for the currently running publishing workflow can be created by accessing the following link(s) while logged-in as an owner of the package(s):
Build/publish package to 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.