We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6823b9 commit da5d124Copy full SHA for da5d124
.github/workflows/python.yaml
@@ -135,6 +135,7 @@ jobs:
135
runs-on: ubuntu-latest
136
137
permissions: {}
138
+ if: startsWith(github.ref, 'refs/tags')
139
140
needs: [ collect-sdist, build-wheels ]
141
steps:
@@ -150,15 +151,6 @@ jobs:
150
151
name: sdist
152
path: dist
153
- - run: find .
154
-
155
- - name: Publish distribution to Test PyPI
156
- uses: pypa/gh-action-pypi-publish@release/v1
157
- if: github.event_name == 'push'
158
- with:
159
- password: ${{ secrets.TEST_PYPI_API_TOKEN }}
160
- repository_url: https://test.pypi.org/legacy/
161
162
- name: Publish distribution to PyPI
163
if: startsWith(github.ref, 'refs/tags')
164
uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments