Skip to content

Commit

Permalink
Merge pull request #4 from alexrudy:testpypi-on-tags
Browse files Browse the repository at this point in the history
Only run testpypi uploads on tags
  • Loading branch information
alexrudy authored Mar 27, 2024
2 parents 7ca3eb6 + 3ff7ee0 commit 7a63ce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pypi-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
# Upload to Test PyPI on every commit on main.
release-test-pypi:
name: Publish in-dev package to test.pypi.org
if: github.repository_owner == 'alexrudy' && github.event_name == 'push' && github.ref == 'refs/heads/main'
if: github.repository_owner == 'alexrudy' && github.event_name == 'push' && github.ref_type == 'tag'
environment: test-pypi-release
runs-on: ubuntu-latest
needs: build-package
Expand Down

0 comments on commit 7a63ce3

Please sign in to comment.