Skip to content

Upload Python Package #4

Upload Python Package

Upload Python Package #4

Triggered via release January 12, 2024 06:16
@ZhaopudarkZhaopudark
published 4c1bb28
Status Failure
Total duration 1m 5s
Artifacts

deploy.yml

on: release
Fit to window
Zoom out
Zoom in

Annotations

1 error, 2 warnings, and 2 notices
deploy
Trusted publishing exchange failure: OpenID Connect token retrieval failed: GitHub: missing or insufficient OIDC token permissions, the ACTIONS_ID_TOKEN_REQUEST_TOKEN environment variable was unset This generally indicates a workflow configuration error, such as insufficient permissions. Make sure that your workflow has `id-token: write` configured at the job level, e.g.: ```yaml permissions: id-token: write ``` Learn more at https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect#adding-permissions-settings.
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
deploy
Input 'repository_url' has been deprecated with message: The inputs have been normalized to use kebab-case. Use `repository-url` instead.
deploy
Using a user-provided API token for authentication against https://test.pypi.org/legacy/
deploy
Attempting to perform trusted publishing exchange to retrieve a temporary short-lived API token for authentication against https://upload.pypi.org/legacy/ due to __token__ username with no supplied password field