@@ -398,32 +398,41 @@ jobs:
398398 - uses : actions/checkout@v4
399399 - name : Create dist directory
400400 run : mkdir -p dist
401- - name : Download all artifacts
401+ - name : Download Linux wheels
402402 uses : actions/download-artifact@v4
403403 with :
404- path : artifacts
405- - name : Debug - List artifact structure
406- run : |
407- echo "=== Artifact Directory Structure ==="
408- find artifacts -type f -ls
409- echo "=== Artifact Directory Contents ==="
410- ls -R artifacts/
411- - name : Move wheel files to dist
412- run : |
413- echo "=== Moving files ==="
414- # For each platform directory
415- for platform in linux macos windows; do
416- # For each architecture in that platform
417- for arch in x86_64 aarch64 x64 x86; do
418- # Find and copy wheel files
419- if [ -d "artifacts/wheels-$platform-$arch" ]; then
420- echo "Processing $platform-$arch"
421- find "artifacts/wheels-$platform-$arch" -name "*.whl" -exec cp -v {} dist/ \;
422- fi
423- done
424- done
425- # Copy source distribution
426- find artifacts/wheels-sdist -name "*.tar.gz" -exec cp -v {} dist/ \;
404+ name : wheels-linux-x86_64
405+ path : dist
406+ - name : Download Linux ARM wheels
407+ uses : actions/download-artifact@v4
408+ with :
409+ name : wheels-linux-aarch64
410+ path : dist
411+ - name : Download macOS wheels
412+ uses : actions/download-artifact@v4
413+ with :
414+ name : wheels-macos-x86_64
415+ path : dist
416+ - name : Download macOS ARM wheels
417+ uses : actions/download-artifact@v4
418+ with :
419+ name : wheels-macos-aarch64
420+ path : dist
421+ - name : Download Windows wheels
422+ uses : actions/download-artifact@v4
423+ with :
424+ name : wheels-windows-x64
425+ path : dist
426+ - name : Download Windows 32-bit wheels
427+ uses : actions/download-artifact@v4
428+ with :
429+ name : wheels-windows-x86
430+ path : dist
431+ - name : Download source distribution
432+ uses : actions/download-artifact@v4
433+ with :
434+ name : wheels-sdist
435+ path : dist
427436 - name : Debug - List final dist directory
428437 run : |
429438 echo "=== Final dist directory contents ==="
0 commit comments