From 57283fae4cd442f9f9947b2e7cb392e52dc07e54 Mon Sep 17 00:00:00 2001 From: Richard Abrich Date: Sun, 23 Mar 2025 17:42:45 -0400 Subject: [PATCH] Update ci.yml fix: update CI workflow to trigger on version tags This enables automatic PyPI publishing when a version tag is pushed or a GitHub release is created, completing the automated release pipeline. --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9de890e..09f94af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,8 @@ name: CI on: push: branches: [ main ] + tags: + - 'v*' # Run workflow on version tags pull_request: branches: [ main ] @@ -70,4 +72,4 @@ jobs: if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@release/v1 with: - password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file + password: ${{ secrets.PYPI_API_TOKEN }}