File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1+ name : Upload PyPi package 📦
12on : [push]
2-
33jobs :
44 build-n-publish :
55 name : Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
@@ -17,13 +17,13 @@ jobs:
1717 - name : Build a binary wheel and a source tarball
1818 run : python -m build --sdist --wheel --outdir dist/ .
1919
20- - name : Publish distribution 📦 to Test PyPI
21- uses : pypa/gh-action-pypi-publish@master
22- with :
23- password : ${{ secrets.TEST_PYPI_API_TOKEN }}
24- repository_url : https://test.pypi.org/legacy/
20+ # - name: Publish distribution 📦 to Test PyPI
21+ # uses: pypa/gh-action-pypi-publish@master
22+ # with:
23+ # password: ${{ secrets.TEST_PYPI_API_TOKEN }}
24+ # repository_url: https://test.pypi.org/legacy/
2525 - name : Publish distribution 📦 to PyPI
26- if : startsWith(github.ref, 'refs/tags')
26+ if : startsWith(github.ref, 'refs/tags/v ')
2727 uses : pypa/gh-action-pypi-publish@master
2828 with :
2929 password : ${{ secrets.PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change 1- name : run_tests
1+ name : Run Tests
22on : [push]
33jobs :
44 test :
You can’t perform that action at this time.
0 commit comments