Clarify wheel flattening in publish.yml

Added comments to clarify the wheel flattening process.
This commit is contained in:
BillTheMaker
2025-12-06 20:00:44 -07:00
committed by GitHub
parent e5f1dcf7b9
commit 0994b6656e

View File

@@ -59,8 +59,13 @@ jobs:
env:
PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: |
mkdir -p dist/flattened
# Find ALL wheels from ALL subdirectories
find dist -name "*.whl" -exec cp {} dist/flattened/ \;
echo "Flattened wheels:"
ls -la dist/flattened/*.whl
cd dist/flattened
echo "Uploading from $(pwd):"
ls -la *.whl
maturin upload --skip-existing --non-interactive