Skip to content
This repository was archived by the owner on Jan 27, 2025. It is now read-only.

Commit

Permalink
build/publish cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
menckend committed Sep 29, 2024
1 parent 5f5e94f commit 92a37cf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 92a37cf

Please sign in to comment.