Skip to content

Commit

Permalink
chore)actions): flattens wheel output into one dir structure
Browse files Browse the repository at this point in the history
  • Loading branch information
doublethefish committed Nov 30, 2024
1 parent 61701e3 commit aa85ad7
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit aa85ad7

Please sign in to comment.