From 4a8524087b92977b88eb390f40306ee591752fad Mon Sep 17 00:00:00 2001 From: Frank Harrison Date: Thu, 28 Nov 2024 11:10:00 +0000 Subject: [PATCH] chore(action): collates wheels into one downloadable for manual release --- .github/workflows/wheels.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 1a99275..9bdd915 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -48,3 +48,27 @@ jobs: with: name: cibw-wheels-${{ matrix.only }} path: ./wheelhouse/*.whl + + collate-wheels: + name: Collate all wheels + needs: build_wheels + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Download all wheel artifacts + uses: actions/download-artifact@v4 + with: + path: wheelhouse + + - name: Compress wheels + run: | + tar -czvf wheels-archive.tar.gz -C wheelhouse . + zip -r wheels-archive.zip wheelhouse + + - uses: actions/upload-artifact@v4 + with: + name: wheels-archive + path: | + wheels-archive.tar.gz + wheels-archive.zip