File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change 3434jobs :
3535
3636 build :
37- name : Build distribution 📦
38- if : startsWith(github.ref, 'refs/tags/') # only publish on tag pushes
37+ name : Build Package
3938 runs-on : ubuntu-latest
4039
4140 steps :
5655 path : dist/
5756
5857 publish-to-pypi :
59- name : >-
60- Publish Python 🐍 distribution 📦 to PyPI
61- if : startsWith(github.ref, 'refs/tags/') # only publish on tag pushes
62- # if: ${{ (github.event_name == 'workflow_dispatch' && github.event.inputs.pypi == 'true') || github.event_name != 'workflow_dispatch' }}
58+ name : Publish to PyPI
59+ if : ${{ (github.event_name == 'workflow_dispatch' && github.event.inputs.pypi == 'true') || github.event_name != 'workflow_dispatch' }}
6360 needs :
6461 - build
6562 runs-on : ubuntu-latest
7875 uses : pypa/gh-action-pypi-publish@release/v1.10
7976
8077 github-release :
81- name : >-
82- Sign the Python 🐍 distribution 📦 with Sigstore
83- and upload them to GitHub Release
78+ name : Publish GitHub Release
8479 if : ${{ (github.event_name == 'workflow_dispatch' && github.event.inputs.github == 'true') || github.event_name != 'workflow_dispatch' }}
8580 needs :
8681 - publish-to-pypi
@@ -122,7 +117,7 @@ jobs:
122117 --repo '${{ github.repository }}'
123118
124119 publish-to-testpypi :
125- name : Publish Python 🐍 distribution 📦 to TestPyPI
120+ name : Publish to TestPyPI
126121 if : ${{ (github.event_name == 'workflow_dispatch' && github.event.inputs.testpypi == 'true') || github.event_name != 'workflow_dispatch' }}
127122 needs :
128123 - build
You can’t perform that action at this time.
0 commit comments