Skip to content

Conversation

@lpi-tn
Copy link
Collaborator

@lpi-tn lpi-tn commented Jul 10, 2025

This pull request adds a new GitHub Actions workflow to automate the publishing of Python distributions to both PyPI and TestPyPI. The workflow includes steps for building the distribution, storing the artifacts, and publishing them based on specific conditions.

New GitHub Actions Workflow for Python Package Publishing:

  • .github/workflows/publish-to-test-pypi.yml:
    • Introduced a workflow to build Python distributions (.whl and .tar.gz) and publish them to PyPI and TestPyPI.
    • The build job handles the creation of distribution packages and stores them as artifacts.
    • The publish-to-pypi job publishes the packages to PyPI, triggered only on tag pushes (refs/tags/).
    • The publish-to-testpypi job publishes the packages to TestPyPI for testing purposes.

@lpi-tn lpi-tn merged commit a3eafbd into main Jul 10, 2025
4 checks passed
@lpi-tn lpi-tn deleted the Feature/auto-package-for-pypi branch July 10, 2025 09:23
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