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 d68774c commit 0b8adc8Copy full SHA for 0b8adc8
.github/workflows/publish-to-test-pypi.yml
@@ -16,13 +16,8 @@ jobs:
16
run: pip install wheel
17
- name: Build wheel
18
run: python setup.py sdist bdist_wheel
19
- - name: Publish distribution 📦 to Test PyPI
20
- uses: pypa/gh-action-pypi-publish@master
21
- with:
22
- password: ${{ secrets.TEST_PYPI_API_TOKEN }}
23
- repository_url: https://test.pypi.org/legacy/
24
- name: Publish distribution 📦 to PyPI
25
- if: startsWith(github.ref, 'refs/tags')
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
26
uses: pypa/gh-action-pypi-publish@master
27
with:
28
password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments