Skip to content

publish-to-test-pypi.yml also pushes to non-test PyPI #1935

@soxofaan

Description

@soxofaan

from https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/#configuring-trusted-publishing:

Let's create a ``.github/workflows/publish-to-test-pypi.yml``
file.

I find this a bit confusing while stepping though this guide:
it is suggested to create a workflow named publish-to-test-pypi.yml, but later it turns out that the workflow also pushes to the real (non-test) PyPI.

Wouldn't it be better to rename this file to just publish-to-pypi.yml?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions