From 0d27fa947bc33a9aac7975848826a386d46a06da Mon Sep 17 00:00:00 2001 From: "A. Challande" Date: Thu, 22 Sep 2022 10:41:24 +0200 Subject: [PATCH] ci: Fix workflow for release --- .github/workflows/release.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0d23c22..ce7b9b8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,24 +6,26 @@ on: jobs: build_wheels: - name: Build wheels on ${{ matrix.os }} - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-20.04, windows-2019, macOS-11] + name: Build wheel + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Build wheels - uses: pypa/cibuildwheel@v2.10.0 + - uses: actions/setup-python@v4 + with: + python-version: '3.10' + - name: Install dependencies + run: pip install wheel + - name: Build wheel + run: pip wheel -w wheels . - uses: actions/upload-artifact@v3 with: - path: ./wheelhouse/*.whl + path: ./wheels/quokka*.whl build_sdist: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: '3.10'