Skip to content

Commit

Permalink
Limiting test pypi updates to development branch only
Browse files Browse the repository at this point in the history
  • Loading branch information
JatGreer committed Dec 5, 2023
1 parent 26c2377 commit bc17b33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
publish-to-pypi:
name: >-
publish-to-pypi
if: startsWith(github.ref, 'ref/tags/')
if: startsWith(github.ref, 'refs/tags/')
needs:
- build
runs-on: ubuntu-latest
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
publish-to-test-pypi:
name: publish-to-test-pypi
# if: startsWith('ref/head/main', 'ref/head/development', 'ref/tags/')
if: startsWith('github.ref', 'ref/heads/development')
needs:
- build
runs-on: ubuntu-latest
Expand Down

0 comments on commit bc17b33

Please sign in to comment.