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 0842487 commit 5292fc8
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 @@ -3,7 +3,7 @@ name: Publish to test.pypi
on: push
jobs:
build:
if: ${{ startsWith(github.ref, 'refs/tags/') }} # only publish to test.pypi.org on non-tagged commits
if: ${{ startsWith(github.ref, 'refs/tags/') }} # only publish to test.pypi.org on tagged commits from test branch
env:
SETUPTOOLS_SCM_PRETEND_VERSION : "0.0.3"
environment:
Expand Down Expand Up @@ -32,7 +32,7 @@ jobs:
path: dist/

publish-to-testpypi:
if: ${{ startsWith(github.ref, 'refs/tags/') }} # only publish to test.pypi.org on non-tagged commits
if: ${{ startsWith(github.ref, 'refs/tags/') }} # only publish to test.pypi.org on tagged commits from test branch
environment:
name: testpypi
url: https://test.pypi.org/p/dcnodatg
Expand Down

0 comments on commit 5292fc8

Please sign in to comment.