Skip to content

Commit 2d3ebd9

Browse files
committed
Revert "Comment out TestPyPI publishing"
This reverts commit 2ba54cf.
1 parent 6e59494 commit 2d3ebd9

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/publish-package.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,16 @@ jobs:
9191
- name: List all files
9292
run: ls -lh dist
9393

94-
# - name: Publish distribution 📦 to Test PyPI
95-
# # Publish to TestPyPI on tag events of if manually triggered
96-
# # Compare to 'true' string as booleans get turned into strings in the console
97-
# if: >-
98-
# (github.event_name == 'push' && startsWith(github.ref, 'refs/tags'))
99-
# || (github.event_name == 'workflow_dispatch' && github.event.inputs.publish == 'true')
100-
# uses: pypa/gh-action-pypi-publish@v1.12.2
101-
# with:
102-
# repository-url: https://test.pypi.org/legacy/
103-
# print-hash: true
94+
- name: Publish distribution 📦 to Test PyPI
95+
# Publish to TestPyPI on tag events of if manually triggered
96+
# Compare to 'true' string as booleans get turned into strings in the console
97+
if: >-
98+
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags'))
99+
|| (github.event_name == 'workflow_dispatch' && github.event.inputs.publish == 'true')
100+
uses: pypa/gh-action-pypi-publish@v1.12.2
101+
with:
102+
repository-url: https://test.pypi.org/legacy/
103+
print-hash: true
104104

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

0 commit comments

Comments
 (0)