Skip to content

Commit dfb12da

Browse files
authored
Update python-publish.yml
1 parent 9a28481 commit dfb12da

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/python-publish.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,15 @@ jobs:
2828
python3 setup.py build
2929
pytest
3030
31-
- name: Publish to PyPI
31+
- name: Publish to Test PyPI
3232
run: |
3333
python3 setup.py sdist bdist_wheel &> package_setup.log
3434
curl --connect-timeout 10 -kI https://test.pypi.org
3535
twine upload -u ${{ secrets.USER }} -p ${{ secrets.PASS }} 'dist/*'
36+
37+
- name: Publish to PyPI
38+
run: |
39+
python3 setup.py sdist bdist_wheel &> package_setup.log
40+
curl --connect-timeout 10 -kI https://test.pypi.org
41+
twine upload -u ${{ secrets.USER }} -p ${{ secrets.PASS }} -r testpypi 'dist/*'
3642

0 commit comments

Comments
 (0)