Skip to content

Commit 9fdcce8

Browse files
do not upload to pypi test
1 parent 4ec6795 commit 9fdcce8

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/pypi_release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
name: Upload PyPi package 📦
12
on: [push]
2-
33
jobs:
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 }}

.github/workflows/run_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: run_tests
1+
name: Run Tests
22
on: [push]
33
jobs:
44
test:

0 commit comments

Comments
 (0)