Skip to content

Commit

Permalink
Uncomment test pypi stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
asmeurer committed Sep 14, 2023
1 parent e1523e2 commit 68486f3
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 @@ -88,16 +88,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: Create GitHub Release from a Tag
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 68486f3

Please sign in to comment.