From 6c518f22e75a21706649a390f179c4038f59027a Mon Sep 17 00:00:00 2001 From: Matevz Morato Date: Fri, 5 Jul 2024 13:32:20 +0200 Subject: [PATCH] Fix the CI for manylinux wheels --- .github/workflows/main.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d3840f361..3c9131228 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -136,6 +136,10 @@ jobs: matrix: rpi-os: [rpi-buster, rpi-bullseye, rpi-bookworm] runs-on: ${{ matrix.rpi-os }} + env: + # workaround required for cache@v3, https://github.com/actions/cache/issues/1428 + # to be removed when upgrading the manylinux image + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true steps: - name: Print home directory run: echo Home directory inside container $HOME @@ -298,8 +302,12 @@ jobs: build-linux-x86_64: needs: build-docstrings runs-on: ubuntu-latest + env: + # workaround required for cache@v3, https://github.com/actions/cache/issues/1428 + # to be removed when upgrading the manylinux image + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true container: - image: quay.io/pypa/manylinux2014_x86_64:2024-01-08-eb135ed + image: quay.io/pypa/manylinux2014_x86_64:latest env: PLAT: manylinux2014_x86_64 steps: @@ -362,8 +370,12 @@ jobs: build-linux-arm64: needs: build-docstrings runs-on: [self-hosted, linux, ARM64] + env: + # workaround required for cache@v3, https://github.com/actions/cache/issues/1428 + # to be removed when upgrading the manylinux image + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true container: - image: quay.io/pypa/manylinux2014_aarch64:2024-01-08-eb135ed + image: quay.io/pypa/manylinux2014_aarch64:latest env: PLAT: manylinux2014_aarch64 # Mount local hunter cache directory, instead of transfering to Github and back