diff --git a/.github/workflows/pip.yml b/.github/workflows/pip.yml index f2a61bbe7855..a930a82805b6 100644 --- a/.github/workflows/pip.yml +++ b/.github/workflows/pip.yml @@ -256,4 +256,6 @@ jobs: repository-url: https://test.pypi.org/legacy/ - uses: pypa/gh-action-pypi-publish@release/v1 - if: github.event_name == 'release' && github.event.action == 'published' + if: > + github.event_name == 'release' && github.event.action == 'published' || + github.event_name == 'push' && (github.ref_name == 'release/19.x' || github.ref_name == 'v19.0.0')