-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|