1414 matrix :
1515 os : [ubuntu-20.04, macos-13, windows-latest]
1616 cibw_archs : ["auto64"]
17- cibw_build : ["cp38-* ", "cp39-* ", "cp310-* ", "cp311-* ", "cp312-* "]
17+ cibw_build : ["cp38", "cp39", "cp310", "cp311", "cp312"]
1818
1919 steps :
2020 - uses : actions/checkout@v3
2626 - uses : actions/setup-python@v4
2727 name : Install Python
2828 with :
29- python-version : ' 3.8 '
29+ python-version : ' 3.10 '
3030
3131 - name : Install cibuildwheel
3232 run : |
3636 run : |
3737 python -m cibuildwheel --output-dir dist
3838 env :
39- CIBW_BUILD : ${{ matrix.cibw_build }}
39+ CIBW_BUILD : ${{ matrix.cibw_build }}-*
4040 CIBW_BUILD_VERBOSITY : 3
4141 CIBW_SKIP : " *musllinux*"
4242 CIBW_MANYLINUX_X86_64_IMAGE : manylinux2014
5858 CIBW_TEST_COMMAND : pytest {project}/tests/
5959
6060 - name : Upload Artifact
61- uses : actions/upload-artifact@v3
61+ uses : actions/upload-artifact@v4
6262 with :
63- name : filepattern-wheels
63+ name : filepattern-wheels-${{ matrix.os }}-${{ matrix.cibw_archs }}-${{ matrix.cibw_build }}
6464 path : dist/*.whl
6565 retention-days : 1
6666
7373 matrix :
7474 os : [macos-13-xlarge]
7575 cibw_archs : ["arm64"]
76- cibw_build : ["cp39-* ", "cp310-* ", "cp311-* ", "cp312-* "]
76+ cibw_build : ["cp39", "cp310", "cp311", "cp312"]
7777
7878 steps :
7979 - uses : actions/checkout@v3
9595 run : |
9696 python -m cibuildwheel --output-dir dist
9797 env :
98- CIBW_BUILD : ${{ matrix.cibw_build }}
98+ CIBW_BUILD : ${{ matrix.cibw_build }}-*
9999 CIBW_BUILD_VERBOSITY : 3
100100 CIBW_ARCHS_MACOS : arm64
101101 CIBW_BEFORE_ALL_MACOS : bash ci-utils/install_prereq_linux.sh &&
@@ -108,8 +108,8 @@ jobs:
108108 CIBW_TEST_COMMAND : pytest {project}/tests/
109109
110110 - name : Upload Artifact
111- uses : actions/upload-artifact@v3
111+ uses : actions/upload-artifact@v4
112112 with :
113- name : filepattern-wheels-apple-silicon
113+ name : filepattern-wheels-${{ matrix.os }}-${{ matrix.cibw_archs }}-${{ matrix.cibw_build }}
114114 path : dist/*.whl
115115 retention-days : 1
0 commit comments