diff --git a/.github/workflows/pypi-deploy.yml b/.github/workflows/pypi-deploy.yml index eea15847..a827ce9e 100644 --- a/.github/workflows/pypi-deploy.yml +++ b/.github/workflows/pypi-deploy.yml @@ -5,8 +5,11 @@ on: release: types: [published] + push: + branches: [ci-debug] + env: - CIBW_BUILD: cp37-* cp38-* cp39-* cp310-* + CIBW_BUILD: cp38-* cp39-* cp310-* cp311-* cp312-* CIBW_BEFORE_BUILD: pip install cython CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 CIBW_MANYLINUX_I686_IMAGE: manylinux2014 @@ -27,16 +30,14 @@ jobs: - uses: actions/setup-python@v5 name: Install Python with: - python-version: '3.8' + python-version: '3.12' - name: Install cibuildwheel run: | - # python -m pip install cibuildwheel - pip install -U setuptools setuptools_scm wheel + pip install -U setuptools setuptools_scm wheel cibuildwheel - name: Build wheels run: | - # python -m cibuildwheel --output-dir wheelhouse - python setup.py bdist_wheel + python -m cibuildwheel --output-dir wheelhouse - uses: actions/upload-artifact@v4 with: name: artifact-wheel-${{ matrix.os }} @@ -54,7 +55,7 @@ jobs: - uses: actions/setup-python@v5 name: Install Python with: - python-version: '3.8' + python-version: '3.12' - name: Install setuptools run: |