We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a63779 commit 9059f28Copy full SHA for 9059f28
.github/workflows/publish.yml
@@ -1,4 +1,4 @@
1
-name: Publish Python distribution to PyPI and TestPyPI
+name: Publish package
2
3
on: push
4
@@ -24,7 +24,7 @@ jobs:
24
path: dist/
25
26
publish-to-pypi:
27
- name: Publish Python distribution to PyPI
+ name: Publish to PyPI
28
if: startsWith(github.ref, 'refs/tags/')
29
needs:
30
- build
@@ -45,7 +45,7 @@ jobs:
45
uses: pypa/gh-action-pypi-publish@release/v1
46
47
github-release:
48
- name: Upload the Python distribution to GitHub Release
+ name: Create GitHub Release
49
50
- publish-to-pypi
51
runs-on: ubuntu-latest
@@ -83,7 +83,8 @@ jobs:
83
--repo '${{ github.repository }}'
84
85
publish-to-testpypi:
86
- name: Publish Python distribution to TestPyPI
+ name: Publish to TestPyPI
87
+ if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
88
89
90
0 commit comments