We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Github action to publish to PyPi fails due to an authentication error.
Steps to reproduce
stable
Error log:
Run pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: *** repository_url: https://upload.pypi.org/legacy/ packages_dir: dist verify_metadata: true skip_existing: false verbose: false print_hash: false env: pythonLocation: /opt/hostedtoolcache/Python/3.8.17/x64 /usr/bin/docker run --name bedb4f0b0e1a4[2](https://github.com/AllenCellModeling/aics_dask_utils/actions/runs/5744984741/job/15572245596#step:7:2)d7c45f[3](https://github.com/AllenCellModeling/aics_dask_utils/actions/runs/5744984741/job/15572245596#step:7:3)9f8a390d0c78c7a5_9[4](https://github.com/AllenCellModeling/aics_dask_utils/actions/runs/5744984741/job/15572245596#step:7:4)b7bc --label [5](https://github.com/AllenCellModeling/aics_dask_utils/actions/runs/5744984741/job/15572245596#step:7:5)bedb4 --workdir /github/workspace --rm -e "pythonLocation" -e "INPUT_USER" -e "INPUT_PASSWORD" -e "INPUT_REPOSITORY-URL" -e "INPUT_REPOSITORY_URL" -e "INPUT_PACKAGES-DIR" -e "INPUT_PACKAGES_DIR" -e "INPUT_VERIFY-METADATA" -e "INPUT_VERIFY_METADATA" -e "INPUT_SKIP-EXISTING" -e "INPUT_SKIP_EXISTING" -e "INPUT_VERBOSE" -e "INPUT_PRINT-HASH" -e "INPUT_PRINT_HASH" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/aics_dask_utils/aics_dask_utils":"/github/workspace" 5bedb4:f0b0e1a42d7c45f39f8a390d0c78c7a5 "__token__" "***" "" "" "" "" "false" "" Notice: Using a user-provided API token for authentication against https://upload.pypi.org/legacy/ Warning: 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 Warning: 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. Checking dist/aics_dask_utils-0.2.3-py2.py3-none-any.whl: PASSED Checking dist/aics_dask_utils-0.2.3.tar.gz: PASSED Uploading distributions to https://upload.pypi.org/legacy/ Uploading aics_dask_utils-0.2.3-py2.py3-none-any.whl 25l 0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/2[6](https://github.com/AllenCellModeling/aics_dask_utils/actions/runs/5744984741/job/15572245596#step:7:6).4 kB • --:-- • ? 0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/26.4 kB • --:-- • ? 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 26.4/26.4 kB • 00:00 • 23.[8](https://github.com/AllenCellModeling/aics_dask_utils/actions/runs/5744984741/job/15572245596#step:7:8) MB/s 25hWARNING Error during upload. Retry with the --verbose option for more details. ERROR HTTPError: 403 Forbidden from https://upload.pypi.org/legacy/ Invalid or non-existent authentication information. See https://pypi.org/help/#invalid-auth for more information.
The text was updated successfully, but these errors were encountered:
Fixed by #9
Sorry, something went wrong.
No branches or pull requests
Github action to publish to PyPi fails due to an authentication error.
Steps to reproduce
stable
branchError log:
The text was updated successfully, but these errors were encountered: