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 24, 2024
1 parent dfbd2a3 commit a30bd08
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 @@ -4,7 +4,7 @@ on:
push
jobs:
build:
if: contains(github.ref, '/tags/') && contains(github.ref_name, 't')
if: contains(github.ref, '/tags/') && contains(github.event.base_ref, 'test')
environment:
name: testpypi
url: https://test.pypi.org/p/dcnodatg
Expand All @@ -30,7 +30,7 @@ jobs:
name: python-package-distributions
path: dist/
publish-to-testpypi:
if: contains(github.ref, '/tags/') && contains(github.ref_name, 'tst')
if: contains(github.ref, '/tags/') && contains(github.event.base_ref, 'test')
environment:
name: testpypi
url: https://test.pypi.org/p/dcnodatg
Expand Down

0 comments on commit a30bd08

Please sign in to comment.