Skip to content

Commit 71f6e30

Browse files
authored
Update python-publish.yml
1 parent bd6def3 commit 71f6e30

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

.github/workflows/python-publish.yml

+2-14
Original file line numberDiff line numberDiff line change
@@ -24,30 +24,18 @@ jobs:
2424
run: |
2525
pip install .
2626
python -m build --sdist --wheel
27-
#- name: Build wheel with cibuildwheel
28-
# if: startsWith(github.ref, 'refs/tags')
29-
# run: |
30-
# pip install cibuildwheel
31-
# cibuildwheel --platform linux
32-
# env:
33-
# #it is not working with python 3.6, which is outdated and no longer supported by many modern packages, including scikit-build-core.
34-
# CIBW_SKIP: "cp36-*"
35-
# CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-*"
36-
3727
3828
- name: Publish distribution 📦 to Test PyPI
39-
#if: startsWith(github.ref, 'refs/tags')
29+
if: startsWith(github.ref, 'refs/tags')
4030
run: |
41-
#twine upload --skip-existing --repository testpypi wheelhouse/* --verbose
4231
twine upload --skip-existing --repository testpypi dist/*.tar.gz --verbose
43-
4432
env:
4533
TWINE_USERNAME: __token__
4634
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
4735

4836

4937
- name: Publish distribution 📦 to PyPI
50-
#if: startsWith(github.ref, 'refs/tags')
38+
if: startsWith(github.ref, 'refs/tags')
5139
run: |
5240
twine upload --skip-existing dist/*.tar.gz --verbose
5341
env:

0 commit comments

Comments
 (0)