From 661f90db8d8def0beea1223a2b7b5b8f6ab1fb53 Mon Sep 17 00:00:00 2001 From: Ville Suoranta Date: Fri, 27 Sep 2024 10:55:41 -0400 Subject: [PATCH] publish-to-testpypi conditional --- .github/workflows/pythonpublish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index 0e3767f..aaffee1 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -55,6 +55,7 @@ jobs: publish-to-testpypi: name: Publish Python 🐍 distribution 📦 to TestPyPI + if : ${{! startsWith(github.ref, 'refs/tags/') }} # only publish to PyPI on tag pushes needs: - build runs-on: ubuntu-latest