From 5e83493f7ad76ed3d78667af218d76d188803f16 Mon Sep 17 00:00:00 2001 From: Joshua Taillon Date: Tue, 7 Jan 2025 23:47:48 -0700 Subject: [PATCH] don't run testpypi on non-tag pushes --- .github/workflows/publish_and_release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish_and_release.yml b/.github/workflows/publish_and_release.yml index fc45579..4005957 100644 --- a/.github/workflows/publish_and_release.yml +++ b/.github/workflows/publish_and_release.yml @@ -96,6 +96,7 @@ jobs: publish-to-testpypi: name: Publish Python 🐍 distribution 📦 to TestPyPI + if: not(startsWith(github.ref, 'refs/tags/')) # only publish to PyPI on tag pushes needs: - build runs-on: ubuntu-latest