2525
2626jobs :
2727 build_wheels :
28- name : " ${{ matrix.wheel-selector }} wheel on ${{ matrix.os }}"
28+ name : " ${{ matrix.wheel-selector }}-* wheel on ${{ matrix.os }}"
2929 runs-on : ${{ matrix.os }}
3030
3131 strategy :
@@ -38,18 +38,18 @@ jobs:
3838 - " ubuntu-22.04"
3939 - " windows-2022"
4040 wheel-selector :
41- - " cp39-* "
42- - " cp310-* "
43- - " cp311-* "
44- - " cp312-* "
45- - " cp313-* "
46- - " pp38-* "
47- - " pp39-* "
48- - " pp310-* "
41+ - " cp39"
42+ - " cp310"
43+ - " cp311"
44+ - " cp312"
45+ - " cp313"
46+ - " pp38"
47+ - " pp39"
48+ - " pp310"
4949
5050 steps :
5151 - name : Check out zfec sources
52- uses : actions/checkout@v3
52+ uses : actions/checkout@v4
5353 with :
5454 # Check out the full history, including tags. This is necessary to
5555 # construct non-release version numbers.
6363 # Configure cibuildwheel to build just some of the total wheels we
6464 # could build for this architecture. This yields better parallelism
6565 # on GitHub Actions execution.
66- CIBW_BUILD : " ${{ matrix.wheel-selector }}"
66+ CIBW_BUILD : " ${{ matrix.wheel-selector }}-* "
6767 # Just make sure that Python can use zfec package.
6868 CIBW_TEST_COMMAND : python -c "import zfec; print(zfec.__version__)"
6969 # Build `universal2` and `arm64` wheels on an Intel runner.
@@ -75,17 +75,18 @@ jobs:
7575 # patch releases of Python 3.9 if they haven't updated pip in their
7676 # virtualenv.
7777 CIBW_MANYLINUX_X86_64_IMAGE : " manylinux_2_28"
78- - uses : actions/upload-artifact@v3
78+ - uses : actions/upload-artifact@v4
7979 name : Upload artifacts
8080 with :
81+ name : wheels-${{ matrix.wheel-selector }}-on-${{ matrix.os }}
8182 path : ./wheelhouse/*.whl
8283
8384 build_sdist :
8485 name : Build source distribution
8586 runs-on : ubuntu-latest
8687
8788 steps :
88- - uses : actions/checkout@v3
89+ - uses : actions/checkout@v4
8990 name : Check out zfec sources
9091 with :
9192 # Check out the full history, including tags. This is necessary to
@@ -101,9 +102,10 @@ jobs:
101102 run : |
102103 python3 setup.py sdist
103104
104- - uses : actions/upload-artifact@v3
105+ - uses : actions/upload-artifact@v4
105106 name : Upload artifacts
106107 with :
108+ name : sdist
107109 path : dist/*.tar.gz
108110
109111 upload_pypi :
@@ -124,10 +126,11 @@ jobs:
124126 # Download all artifacts previously built by this workflow to the dist
125127 # directory where the publish step can find them. These are the sdist
126128 # and all of the wheels build by the other jobs.
127- - uses : " actions/download-artifact@v3 "
129+ - uses : " actions/download-artifact@v4 "
128130 with :
129- name : " artifact "
131+ pattern : " * "
130132 path : " dist"
133+ merge-multiple : true
131134
132135 # Define a conditional step to upload packages to the testing instance
133136 # of PyPI.
0 commit comments