@@ -358,7 +358,7 @@ jobs:
358358 rust-toolchain : stable
359359 - uses : actions/upload-artifact@v4
360360 with :
361- name : pypi_files
361+ name : pypi_files_sdist
362362 path : dist
363363
364364 build :
@@ -447,7 +447,7 @@ jobs:
447447 uses : PyO3/maturin-action@v1
448448 with :
449449 target : ${{ matrix.target }}
450- manylinux : ${{ matrix.manylinux == 'manylinux' && 'auto' || matrix.manylinux }}
450+ manylinux : ${{ matrix.manylinux }}
451451 args : --release --out dist --interpreter ${{ matrix.interpreter || '3.8 3.9 3.10 3.11 3.12 pypy3.9 pypy3.10' }}
452452 rust-toolchain : stable
453453 docker-options : -e CI
@@ -458,7 +458,7 @@ jobs:
458458
459459 - uses : actions/upload-artifact@v4
460460 with :
461- name : pypi_files
461+ name : pypi_files_${{ matrix.os }}_${{ matrix.target }}_${{ matrix.interpreter || 'all' }}_${{ matrix.manylinux }}
462462 path : dist
463463
464464 build-pgo :
@@ -553,7 +553,7 @@ jobs:
553553
554554 - uses : actions/upload-artifact@v4
555555 with :
556- name : pypi_files_pgo
556+ name : pypi_files_${{ matrix.os }}_${{ matrix.interpreter }}
557557 path : dist
558558
559559 inspect-pypi-assets :
@@ -566,22 +566,11 @@ jobs:
566566 - name : get dist artifacts
567567 uses : actions/download-artifact@v4
568568 with :
569- name : pypi_files
569+ pattern : pypi_files_*
570+ merge-multiple : true
570571 path : dist
571572
572- - name : list dist files before PGO builds
573- run : |
574- ls -lh dist/
575- ls -l dist/
576- echo "`ls dist | wc -l` files"
577-
578- - name : get PGO dist artifacts (comes after "get dist artifacts" to so these files override the non-PGO builds)
579- uses : actions/download-artifact@v4
580- with :
581- name : pypi_files_pgo
582- path : dist
583-
584- - name : list dist files with PGO builds
573+ - name : list dist files
585574 run : |
586575 ls -lh dist/
587576 ls -l dist/
@@ -618,13 +607,8 @@ jobs:
618607 - name : get dist artifacts
619608 uses : actions/download-artifact@v4
620609 with :
621- name : pypi_files
622- path : dist
623-
624- - name : get PGO dist artifacts (comes after "get dist artifacts" to so these files override the non-PGO builds)
625- uses : actions/download-artifact@v4
626- with :
627- name : pypi_files_pgo
610+ pattern : pypi_files_linux_*
611+ merge-multiple : true
628612 path : dist
629613
630614@@ -676,13 +660,8 @@ jobs:
676660 - name : get dist artifacts
677661 uses : actions/download-artifact@v4
678662 with :
679- name : pypi_files
680- path : dist
681-
682- - name : get PGO dist artifacts (comes after "get dist artifacts" to so these files override the non-PGO builds)
683- uses : actions/download-artifact@v4
684- with :
685- name : pypi_files_pgo
663+ pattern : pypi_files_*
664+ merge-multiple : true
686665 path : dist
687666
688667 - run : pip install typing-extensions
@@ -711,13 +690,8 @@ jobs:
711690 - name : get dist artifacts
712691 uses : actions/download-artifact@v4
713692 with :
714- name : pypi_files
715- path : dist
716-
717- - name : get PGO dist artifacts (comes after "get dist artifacts" to so these files override the non-PGO builds)
718- uses : actions/download-artifact@v4
719- with :
720- name : pypi_files_pgo
693+ pattern : pypi_files_*
694+ merge-multiple : true
721695 path : dist
722696
723697 - run : twine check --strict dist/*
0 commit comments