Skip to content

Convert publishing pipeline to Trusted Publishing #5122

@miketheman

Description

@miketheman

- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
with:
password: ${{ secrets.PYPI_API_TOKEN }}
packages_dir: dist/

See https://docs.pypi.org/trusted-publishers/

Post-migration, remove the secret from GitHub and PyPI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions