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 47f61e0 commit c1e1949
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-commits-to-pypi-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
- bananapants
jobs:
build:
#if: ${{ startsWith(github.ref, 'refs/tags/') }} # only publish to test.pypi.org on tagged commits from test branch
if: startsWith(github.ref, 'refs/tags/v')
environment:
name: testpypi
url: https://test.pypi.org/p/dcnodatg
Expand All @@ -33,6 +35,7 @@ jobs:
name: python-package-distributions
path: dist/
publish-to-testpypi:
if: startsWith(github.ref, 'refs/tags/v')
environment:
name: testpypi
url: https://test.pypi.org/p/dcnodatg
Expand Down

0 comments on commit c1e1949

Please sign in to comment.