From df8b43cc09ce804765693a5c67f428fcc46bede0 Mon Sep 17 00:00:00 2001 From: lukmaz Date: Wed, 22 Jan 2025 12:16:47 -0800 Subject: [PATCH] Update pytest_and_autopublish.yml with if publish_to_testpypi --- .github/workflows/pytest_and_autopublish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pytest_and_autopublish.yml b/.github/workflows/pytest_and_autopublish.yml index 499586d..ac7ce4a 100644 --- a/.github/workflows/pytest_and_autopublish.yml +++ b/.github/workflows/pytest_and_autopublish.yml @@ -82,7 +82,7 @@ jobs: publish-to-testpypi: name: Publish Python distribution to TestPyPI - # if: github.event.inputs.publish_to_testpypi == 'true' || startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes + if: github.event.inputs.publish_to_testpypi == 'true' || startsWith(github.ref, 'refs/tags/') needs: - build runs-on: ubuntu-latest