From 77e33c59f49c06ecb4b36aaaf2d5a3c4874de6b5 Mon Sep 17 00:00:00 2001 From: Johannes Mueller Date: Wed, 2 Oct 2024 10:32:16 +0200 Subject: [PATCH] Update pypi deployment Signed-off-by: Johannes Mueller --- .github/workflows/pypi-deploy.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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: |