From 92a37cf5946b47d9993bcd5406a140a13d61f9a8 Mon Sep 17 00:00:00 2001 From: Mencken Davidson <76002183+menckend@users.noreply.github.com> Date: Sun, 29 Sep 2024 13:17:04 -0400 Subject: [PATCH] build/publish cleanup --- .github/workflows/publish.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 0e5c023..07b1c4a 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -28,7 +28,9 @@ jobs: publish-to-pypi: name: >- Publish Python 🐍 distribution 📦 to PyPI - if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes + #if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes + if: startsWith(github.ref, 'nevermatch') + needs: - build runs-on: ubuntu-latest @@ -91,7 +93,7 @@ jobs: --repo '${{ github.repository }}' publish-to-testpypi: - if: "!startsWith(github.ref, 'refs/tags/')" # only publish to PyPI on tag pushes + if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes name: Publish Python 🐍 distribution 📦 to TestPyPI needs: