Skip to content
New issue

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

Automate Python Package Upload to PyPI on Release #615

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Phani-kp
Copy link

This PR introduces a GitHub Actions workflow to automate the build and publishing process for Python packages to PyPI whenever a new release is created.

Key Features:
Automatically triggers on release publication.
Builds the Python package using pip install build and python -m build.
Uploads the distribution artifacts for verification.
Publishes the package to PyPI using trusted publishing with OpenID Connect (OIDC).
This ensures a streamlined and error-free deployment process for Python packages. 🚀

Next Steps:
Update the PyPI project URL in the workflow if necessary.
Ensure that trusted publishing is configured in PyPI for secure deployments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants