Skip to content

Commit

Permalink
Revert "Comment out TestPyPI publishing"
Browse files Browse the repository at this point in the history
This reverts commit 2ba54cf.
  • Loading branch information
asmeurer committed Nov 7, 2024
1 parent 6e59494 commit 2d3ebd9
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,16 @@ jobs:
- name: List all files
run: ls -lh dist

# - name: Publish distribution 📦 to Test PyPI
# # Publish to TestPyPI on tag events of if manually triggered
# # Compare to 'true' string as booleans get turned into strings in the console
# if: >-
# (github.event_name == 'push' && startsWith(github.ref, 'refs/tags'))
# || (github.event_name == 'workflow_dispatch' && github.event.inputs.publish == 'true')
# uses: pypa/[email protected]
# with:
# repository-url: https://test.pypi.org/legacy/
# print-hash: true
- name: Publish distribution 📦 to Test PyPI
# Publish to TestPyPI on tag events of if manually triggered
# Compare to 'true' string as booleans get turned into strings in the console
if: >-
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags'))
|| (github.event_name == 'workflow_dispatch' && github.event.inputs.publish == 'true')
uses: pypa/[email protected]
with:
repository-url: https://test.pypi.org/legacy/
print-hash: true

- name: Publish distribution 📦 to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
Expand Down

0 comments on commit 2d3ebd9

Please sign in to comment.