From c0531d553ea993a5abdd0b861116e8c94783b148 Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Mon, 2 Jun 2025 13:54:37 +0900 Subject: [PATCH] aggregate all wheel zips --- .github/workflows/wheel.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/wheel.yml b/.github/workflows/wheel.yml index afc4192..686d7dd 100644 --- a/.github/workflows/wheel.yml +++ b/.github/workflows/wheel.yml @@ -47,6 +47,24 @@ jobs: name: wheels-${{ matrix.os }} path: wheelhouse + # combine all wheels into one artifact + combine_wheels: + needs: [build_wheels] + runs-on: ubuntu-latest + steps: + - uses: actions/download-artifact@v4 + with: + # unpacks all CIBW artifacts into dist/ + pattern: wheels-* + path: dist + merge-multiple: true + + - name: Upload Wheels to artifact + uses: actions/upload-artifact@v4 + with: + name: wheels-all + path: dist + # https://github.com/pypa/cibuildwheel/blob/main/examples/github-deploy.yml upload_pypi: needs: [build_wheels]