From 4866c0857567c503b7840a8149ae88662dec6bcb Mon Sep 17 00:00:00 2001 From: Maksim Levental Date: Fri, 14 Jul 2023 07:14:55 -0500 Subject: [PATCH] Update wheels.yml Setup python --- .github/workflows/wheels.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index fd35e14..bb6e199 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -132,7 +132,7 @@ jobs: with: key: ${{ github.job }}-${{ matrix.os }}-${{ matrix.arch }} # Make cache specific to OS max-size: "5G" - append-timestamp: false +# append-timestamp: false # variant: sccache - name: Configure ccache dir on host @@ -184,6 +184,10 @@ jobs: MATRIX_OS: ${{ matrix.os }} PARALLEL_LEVEL: ${{ matrix.os == 'windows-2022' && '2' || '2' }} + - uses: actions/setup-python@v4 + with: + python-version: '3.10' + - name: Build native_tools wheel shell: bash id: build_native_tools_wheel @@ -200,6 +204,7 @@ jobs: PLAT="win" fi + pip install wheel PLAT=${PLAT}_$(echo $ARCH | tr '[:upper:]' '[:lower:]') pushd native_tools python setup.py bdist_wheel --dist-dir ../wheelhouse --plat $PLAT