Skip to content

Commit

Permalink
Update publish-commits-to-pypi-test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
menckend authored Oct 23, 2024
1 parent a4fb0c4 commit 63b1605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-commits-to-pypi-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
# - test
jobs:
build:
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/') && contains(github.ref, 'test')
environment:
name: testpypi
url: https://test.pypi.org/p/dcnodatg
Expand All @@ -32,7 +32,7 @@ jobs:
name: python-package-distributions
path: dist/
publish-to-testpypi:
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/') && contains(github.ref, 'test')
environment:
name: testpypi
url: https://test.pypi.org/p/dcnodatg
Expand Down

0 comments on commit 63b1605

Please sign in to comment.