@@ -23,22 +23,24 @@ jobs:
23
23
- name : Build the package
24
24
run : |
25
25
pip install .
26
- python -m build
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-*"
26
+ 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
36
37
37
38
38
- name : Publish distribution 📦 to Test PyPI
39
- if : startsWith(github.ref, 'refs/tags')
39
+ # if: startsWith(github.ref, 'refs/tags')
40
40
run : |
41
- twine upload --repository testpypi wheelhouse/* --verbose
41
+ #twine upload --repository testpypi wheelhouse/* --verbose
42
+ twine upload --repository pypi dist/* --verbose
43
+
42
44
env :
43
45
TWINE_USERNAME : __token__
44
46
TWINE_PASSWORD : ${{ secrets.TEST_PYPI_PASSWORD }}
0 commit comments