From 3869ecebc43ac6f795d3c0f42f040123681b8a1c Mon Sep 17 00:00:00 2001 From: Kyle Altendorf Date: Wed, 16 Oct 2024 09:05:13 -0400 Subject: [PATCH] extract --- .github/workflows/build-wheels.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 44af4d8e..7430e061 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -131,6 +131,12 @@ jobs: name: packages-sdist path: ./target/wheels/ + - name: extract + run: | + mkdir extracted + cd extracted + tar -xvzf ../target/wheels/*.tar.gz + - uses: Chia-Network/actions/setup-python@main with: python-version: ${{ matrix.python.major-dot-minor }} @@ -146,7 +152,7 @@ jobs: python${{ matrix.python.major-dot-minor }} -m venv venv . venv/bin/activate pip install build - python -m build target/wheels/*.tar.gz + python -m build extracted/* - name: Build Linux with maturin on Python ${{ matrix.python }} if: matrix.os.matrix == 'ubuntu' @@ -161,7 +167,7 @@ jobs: python${{ matrix.python.major-dot-minor }} -m venv /venv && \ . /venv/bin/activate && \ pip install build && \ - CC=gcc python -m build target/wheels/*.tar.gz \ + CC=gcc python -m build extracted/* \ ' - name: Build Windows with maturin on Python ${{ matrix.python }} @@ -173,7 +179,7 @@ jobs: py -${{ matrix.python.major-dot-minor }} -m venv venv . .\venv\Scripts\Activate.ps1 pip install build - python -m build target/wheels/*.tar.gz + python -m build extracted/* - uses: Chia-Network/actions/create-venv@main id: create-venv