From ac2fc94af3edf97a8aca6ef68a5e8c53c1be0844 Mon Sep 17 00:00:00 2001 From: Alex Reinking Date: Mon, 16 Dec 2024 21:45:24 -0500 Subject: [PATCH] Make sure the release actually runs? --- .github/workflows/pip.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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')