From 782bfd23b26bb25d01d905551c2c33c776ea087e Mon Sep 17 00:00:00 2001 From: Martin Larralde Date: Wed, 17 Jul 2024 00:59:21 +0200 Subject: [PATCH] Update `cibuildwheel` used in `package.yml` Actions workflow --- .github/workflows/package.yml | 15 ++++++++------- .github/workflows/test.yml | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index e37ae8e..9b78460 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -9,7 +9,7 @@ jobs: wheel-linux-aarch64: name: Build Linux wheels (Aarch64) - runs-on: ubuntu-22.04 + runs-on: ubuntu-20.04 strategy: matrix: python-tag: @@ -34,7 +34,7 @@ jobs: with: platforms: all - name: Build manylinux wheels - uses: pypa/cibuildwheel@v2.18.0 + uses: pypa/cibuildwheel@v2.19.2 env: CIBW_ARCHS: aarch64 CIBW_BUILD: ${{ matrix.python-tag }} @@ -51,7 +51,7 @@ jobs: wheel-linux-x86_64: name: Build Linux wheels (x86-64) - runs-on: ubuntu-22.04 + runs-on: ubuntu-20.04 strategy: matrix: python-tag: @@ -71,7 +71,7 @@ jobs: with: submodules: true - name: Build manylinux wheels - uses: pypa/cibuildwheel@v2.18.0 + uses: pypa/cibuildwheel@v2.19.2 env: CIBW_ARCHS: x86_64 CIBW_BUILD: ${{ matrix.python-tag }} @@ -108,7 +108,7 @@ jobs: with: submodules: true - name: Build manylinux wheels - uses: pypa/cibuildwheel@v2.18.0 + uses: pypa/cibuildwheel@v2.19.2 env: CIBW_ARCHS: x86_64 CIBW_BUILD: ${{ matrix.python-tag }} @@ -139,7 +139,7 @@ jobs: with: submodules: true - name: Build manylinux wheels - uses: pypa/cibuildwheel@v2.18.0 + uses: pypa/cibuildwheel@v2.19.2 env: CIBW_ARCHS: arm64 CIBW_BUILD: ${{ matrix.python-tag }} @@ -176,7 +176,7 @@ jobs: with: submodules: true - name: Build manylinux wheels - uses: pypa/cibuildwheel@v2.18.0 + uses: pypa/cibuildwheel@v2.19.2 env: CIBW_ARCHS: AMD64 CIBW_BUILD: ${{ matrix.python-tag }} @@ -259,6 +259,7 @@ jobs: release: environment: GitHub Releases runs-on: ubuntu-latest + permissions: write-all if: "!contains(github.ref, 'rc')" name: Release needs: upload diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 53d27e7..4d5a093 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ jobs: test_linux: name: Test (Linux) - runs-on: ubuntu-22.04 + runs-on: ubuntu-20.04 env: OS: Linux strategy: