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