1818 steps :
1919 - uses : actions/checkout@v1
2020
21- - uses : actions/setup-python@v1
21+ - uses : actions/setup-python@v5
2222 name : Install Python
2323 with :
2424 python-version : ' 3.x'
3131 if : startsWith(matrix.os, 'macos')
3232 run : |
3333 brew install automake
34+ brew install libtool
3435
3536 - name : Build wheels on Linux
3637 if : startsWith(matrix.os, 'macos') != true
@@ -42,12 +43,13 @@ jobs:
4243 - name : Build wheels on OSX
4344 if : startsWith(matrix.os, 'macos')
4445 env :
45- CIBW_BEFORE_BUILD : cd src/runtime/c && glibtoolize && autoreconf -i && ./configure && make && make install
46+ CIBW_BEFORE_BUILD : cd src/runtime/c && glibtoolize && autoreconf -i && ./configure && make && sudo make install
4647 run : |
4748 python -m cibuildwheel src/runtime/python --output-dir wheelhouse
4849
49- - uses : actions/upload-artifact@v2
50+ - uses : actions/upload-artifact@v4
5051 with :
52+ name : wheel-${{ matrix.os }}
5153 path : ./wheelhouse
5254
5355 build_sdist :
6466 - name : Build sdist
6567 run : cd src/runtime/python && python setup.py sdist
6668
67- - uses : actions/upload-artifact@v2
69+ - uses : actions/upload-artifact@v4
6870 with :
71+ name : wheel-source
6972 path : ./src/runtime/python/dist/*.tar.gz
7073
7174 upload_pypi :
@@ -78,16 +81,17 @@ jobs:
7881 - uses : actions/checkout@v2
7982
8083 - name : Set up Python
81- uses : actions/setup-python@v2
84+ uses : actions/setup-python@v5
8285 with :
8386 python-version : ' 3.x'
8487
8588 - name : Install twine
8689 run : pip install twine
8790
88- - uses : actions/download-artifact@v2
91+ - uses : actions/download-artifact@v4.1.7
8992 with :
90- name : artifact
93+ pattern : wheel-*
94+ merge-multiple : true
9195 path : ./dist
9296
9397 - name : Publish
0 commit comments