From aa85ad7d661661d4e3eceb9d4e70d4d53c9a8539 Mon Sep 17 00:00:00 2001 From: Frank Harrison Date: Thu, 28 Nov 2024 18:10:02 +0000 Subject: [PATCH] chore)actions): flattens wheel output into one dir structure --- .github/workflows/wheels.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index fac45e0..4b11c42 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -76,15 +76,13 @@ jobs: with: path: wheelhouse - - name: Compress wheels + - name: Flatten wheels run: | - find . - tar -czvf wheels-archive.tar.gz -C wheelhouse . - zip -r wheels-archive.zip wheelhouse + mv $(find wheelhouse -type f) wheelhouse + find wheelhouse -empty -type d -delete - uses: actions/upload-artifact@v4 with: - name: wheels-archive + name: wheelhouse path: | - wheels-archive.tar.gz - wheels-archive.zip + wheelhouse/*.whl