From f82a3a6de7f87ee17d6c67a9eaec3ee93c906507 Mon Sep 17 00:00:00 2001 From: Abel Carreras Date: Mon, 22 Jul 2024 14:44:13 +0200 Subject: [PATCH] update python-publish workflow for newer versions of python and OS --- .github/workflows/python-publish.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 1404ddf..ba07132 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -52,7 +52,7 @@ jobs: if: github.ref == 'refs/heads/master' strategy: matrix: - os: [ubuntu-20.04, windows-2019, macos-10.15] + os: [ubuntu-latest, windows-2019, macos-13] steps: - uses: actions/checkout@v2 @@ -62,7 +62,7 @@ jobs: uses: pypa/cibuildwheel@v2.4.0 env: CIBW_BEFORE_BUILD: pip install numpy==1.19.5 - CIBW_BUILD: cp36-* cp37-* cp38-* + CIBW_BUILD: cp38-* - name: Build wheels uses: pypa/cibuildwheel@v2.4.0 @@ -71,6 +71,13 @@ jobs: CIBW_BUILD: cp39-* cp310-* CIBW_ARCHS_MACOS: x86_64 universal2 + - name: Build wheels + uses: pypa/cibuildwheel@v2.4.0 + env: + CIBW_BEFORE_BUILD: pip install numpy setuptools + CIBW_BUILD: cp311-* + CIBW_ARCHS_MACOS: x86_64 universal2 + - uses: actions/upload-artifact@v2 with: path: ./wheelhouse/*.whl