Skip to content

Add GitHub Actions workflow for PyPI and TestPyPI publishing#11

Merged
ardiloot merged 1 commit intomainfrom
pypi
Mar 21, 2026
Merged

Add GitHub Actions workflow for PyPI and TestPyPI publishing#11
ardiloot merged 1 commit intomainfrom
pypi

Conversation

@ardiloot
Copy link
Copy Markdown
Owner

This pull request adds a new GitHub Actions workflow for publishing the package to PyPI and TestPyPI based on tag conventions. The workflow automates building the package and determines whether to publish to the main PyPI or TestPyPI depending on whether the tag is a release or pre-release.

New automated publishing workflow:

  • Adds .github/workflows/publish-to-pypi.yml to automate building and publishing Python packages to PyPI or TestPyPI when a tag is pushed.
  • Implements logic to distinguish between release and pre-release tags, publishing pre-releases to TestPyPI and full releases to PyPI.
  • Uses the uv build tool and uploads build artifacts as part of the workflow.

@ardiloot ardiloot merged commit eb50ba1 into main Mar 21, 2026
3 of 4 checks passed
@ardiloot ardiloot deleted the pypi branch March 21, 2026 18:42
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.

1 participant