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 }}