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 261ca89 commit 4f59092
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish-commits-to-pypi-test.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: Publish to test.pypi

on: push
branches: test
on:
push:
branches:
- test
- 'releases/**'
jobs:
build:
if: ${{ startsWith(github.ref, 'refs/tags/') }} # only publish to test.pypi.org on tagged commits from test branch
Expand Down Expand Up @@ -32,7 +35,6 @@ jobs:
with:
name: python-package-distributions
path: dist/

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

0 comments on commit 4f59092

Please sign in to comment.