Skip to content

Commit 68486f3

Browse files
committed
Uncomment test pypi stuff
1 parent e1523e2 commit 68486f3

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
@@ -88,16 +88,16 @@ jobs:
8888
- name: List all files
8989
run: ls -lh dist
9090

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

102102
- name: Create GitHub Release from a Tag
103103
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)