diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ed46667..44d7c8d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -59,13 +59,18 @@ jobs: env: PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} run: | - # Find ALL wheels from ALL subdirectories + # CREATE flattened dir FIRST + mkdir -p dist/flattened + + # Copy ALL wheels from ALL subdirs find dist -name "*.whl" -exec cp {} dist/flattened/ \; - echo "Flattened wheels:" + + echo "=== ALL WHEELS FOUND ===" ls -la dist/flattened/*.whl cd dist/flattened - echo "Uploading from $(pwd):" + echo "=== UPLOADING FROM $(pwd) ===" ls -la *.whl maturin upload --skip-existing --non-interactive +