@@ -358,7 +358,7 @@ jobs:
358
358
rust-toolchain : stable
359
359
- uses : actions/upload-artifact@v4
360
360
with :
361
- name : pypi_files
361
+ name : pypi_files_sdist
362
362
path : dist
363
363
364
364
build :
@@ -447,7 +447,7 @@ jobs:
447
447
uses : PyO3/maturin-action@v1
448
448
with :
449
449
target : ${{ matrix.target }}
450
- manylinux : ${{ matrix.manylinux == 'manylinux' && 'auto' || matrix.manylinux }}
450
+ manylinux : ${{ matrix.manylinux }}
451
451
args : --release --out dist --interpreter ${{ matrix.interpreter || '3.8 3.9 3.10 3.11 3.12 pypy3.9 pypy3.10' }}
452
452
rust-toolchain : stable
453
453
docker-options : -e CI
@@ -458,7 +458,7 @@ jobs:
458
458
459
459
- uses : actions/upload-artifact@v4
460
460
with :
461
- name : pypi_files
461
+ name : pypi_files_${{ matrix.os }}_${{ matrix.target }}_${{ matrix.interpreter || 'all' }}_${{ matrix.manylinux }}
462
462
path : dist
463
463
464
464
build-pgo :
@@ -553,7 +553,7 @@ jobs:
553
553
554
554
- uses : actions/upload-artifact@v4
555
555
with :
556
- name : pypi_files_pgo
556
+ name : pypi_files_${{ matrix.os }}_${{ matrix.interpreter }}
557
557
path : dist
558
558
559
559
inspect-pypi-assets :
@@ -566,22 +566,11 @@ jobs:
566
566
- name : get dist artifacts
567
567
uses : actions/download-artifact@v4
568
568
with :
569
- name : pypi_files
569
+ pattern : pypi_files_*
570
+ merge-multiple : true
570
571
path : dist
571
572
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
585
574
run : |
586
575
ls -lh dist/
587
576
ls -l dist/
@@ -618,13 +607,8 @@ jobs:
618
607
- name : get dist artifacts
619
608
uses : actions/download-artifact@v4
620
609
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
628
612
path : dist
629
613
630
614
@@ -676,13 +660,8 @@ jobs:
676
660
- name : get dist artifacts
677
661
uses : actions/download-artifact@v4
678
662
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
686
665
path : dist
687
666
688
667
- run : pip install typing-extensions
@@ -711,13 +690,8 @@ jobs:
711
690
- name : get dist artifacts
712
691
uses : actions/download-artifact@v4
713
692
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
721
695
path : dist
722
696
723
697
- run : twine check --strict dist/*
0 commit comments