@@ -13,17 +13,15 @@ jobs:
1313 name : Build SDist
1414 runs-on : ubuntu-latest
1515 steps :
16- - uses : actions/checkout@v2
17- with :
18- submodules : true
16+ - uses : actions/checkout@v4
1917
2018 - name : Build SDist
2119 run : pipx run build --sdist
2220
2321 - name : Check metadata
2422 run : pipx run twine check dist/*
2523
26- - uses : actions/upload-artifact@v2
24+ - uses : actions/upload-artifact@v4
2725 with :
2826 path : dist/*.tar.gz
2927
3432 # Launch separate job for each python. The build is so much longer than
3533 # machine configuration/setup, so parallel builds will be faster. More
3634 # importantly, github times out after 6 hours _per job_.
37- cpversion : ["cp36", "cp37", "cp38", "cp39", "cp310", "cp311"]
35+ cpversion : ["cp36", "cp37", "cp38", "cp39", "cp310", "cp311", "cp312" ]
3836 os : [ { runs-on: ubuntu-latest, cibw-arch: manylinux_x86_64}, { runs-on: macos-latest, cibw-arch: macosx_x86_64}, { runs-on: macos-latest, cibw-arch: macosx_arm64}, { runs-on: windows-latest, cibw-arch: win_amd64} ]
3937 exclude :
4038 - os : { runs-on: macos-latest, cibw-arch: macosx_arm64}
@@ -65,22 +63,20 @@ jobs:
6563 with :
6664 submodules : ' recursive'
6765
68- - uses : actions/setup-python@v2
66+ - uses : actions/setup-python@v5
6967 name : Install Python
70- with :
71- python-version : ' 3.7'
7268
7369 - name : Install cibuildwheel
7470 run : |
7571 python -m pip install --upgrade pip
76- python -m pip install cibuildwheel==2.12.0
72+ python -m pip install cibuildwheel
7773
7874 - name : Build wheels
7975 run : |
8076 python -m cibuildwheel --output-dir wheelhouse
8177
8278 # Upload binaries to github
83- - uses : actions/upload-artifact@v2
79+ - uses : actions/upload-artifact@v4
8480 with :
8581 path : |
8682 ./wheelhouse/*.whl
@@ -95,12 +91,12 @@ jobs:
9591 # alternatively, to publish when a GitHub Release is created, use the following rule:
9692 if : github.event_name == 'release' && github.event.action == 'published'
9793 steps :
98- - uses : actions/download-artifact@v2
94+ - uses : actions/download-artifact@v4
9995 with :
10096 name : artifact
10197 path : dist
10298
103- - uses : pypa/gh-action-pypi-publish@v1.5.0
99+ - uses : pypa/gh-action-pypi-publish@v1.8.11
104100 with :
105101 user : __token__
106102 password : ${{ secrets.pypi_password }}
0 commit comments