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

Commit

Permalink
Update publish.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
menckend authored Oct 3, 2024
1 parent 93adf9d commit e6b125a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.x"
- name: Install pypa/build
run: >-
python3 -m
Expand All @@ -28,8 +28,7 @@ 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, 'nevermatch')
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes

needs:
- build
Expand Down Expand Up @@ -94,7 +93,7 @@ jobs:
publish-to-testpypi:
#if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
if: startsWith(github.ref, 'nevermatch') # don't publish
if: startsWith(github.ref, 'refs/nevermatch') # don't publish
name: Publish Python 🐍 distribution 📦 to TestPyPI
needs:
- build
Expand Down

0 comments on commit e6b125a

Please sign in to comment.