Skip to content

Commit

Permalink
fix: try to push to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
builder555 committed Jan 2, 2024
1 parent e625eb7 commit ea2fdf6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:

increment-version:
needs: test-and-lint
outputs:
is_incremented: ${{ steps.increment-version.outputs.is_incremented }}
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -114,9 +116,10 @@ jobs:
publish-to-pypi:
name: >-
Publish Python 🐍 distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
if: ${{ needs.increment-version.outputs.is_incremented != 0 }}
needs:
- build
- increment-version
runs-on: ubuntu-latest
environment:
name: pypi
Expand Down

0 comments on commit ea2fdf6

Please sign in to comment.