From 23a6565e2feebef9441f368a9ae56c2157e0f944 Mon Sep 17 00:00:00 2001 From: Alessandro Valentini Date: Tue, 7 Nov 2023 15:17:36 +0100 Subject: [PATCH] Try to fix windows build --- .github/workflows/main.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f99d712..ea9561c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,17 +13,14 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: actions/setup-python@v3 + - name: Set up Python + uses: actions/setup-python@v1 + with: + python-version: 3.10 - name: Install cibuildwheel run: python -m pip install cibuildwheel==2.12.1 - - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip --upgrade setuptools - python -m pip install -e .[all] - - name: Build wheels run: python -m cibuildwheel --output-dir dist @@ -39,7 +36,7 @@ jobs: - name: Checkout uses: actions/checkout@master - - name: Build manylinux Python wheels + - name: Build manylinux Python wheels uses: RalfG/python-wheels-manylinux-build@v0.4.2-manylinux2014_x86_64 with: python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310' @@ -48,7 +45,7 @@ jobs: with: name: linux-wheel path: dist/*-manylinux*.whl - + deploy-pypi: runs-on: ubuntu-latest needs: [build-linux, build-win]