Skip to content

Before we publish a pkg to PyPi, install release candidate package with pip to verify it #622

@NathanielRN

Description

@NathanielRN

As a follow up to #598 , we identified an action item to update the build_a_package.sh script to install the built Python package before we publish it to PyPi just to be sure that everything is working correctly.

Specifically, we want to add a step to download the package before we publish it to PyPi here:

# We don't need to publish to TestPyPI because we only publish 1 package.
# If it fails no other work needs to be reversed.
- name: Publish to PyPI
env:
TWINE_USERNAME: '__token__'
TWINE_PASSWORD: ${{ secrets.pypi_password }}
run: |
twine upload --skip-existing --verbose dist/*

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions