@@ -17,20 +17,20 @@ jobs:
1717 runs-on : ${{ matrix.os }}
1818 strategy :
1919 matrix :
20- os : [ubuntu-22.04 , windows-2022 , macOS-12 ]
20+ os : [ubuntu-latest , windows-latest , macOS-latest, macos-13, ubuntu-24.04-arm, ]
2121
2222 steps :
23- - uses : actions/checkout@v3
23+ - uses : actions/checkout@v4
2424 with :
2525 ref : ${{ github.event.inputs.branch }}
2626
27- - name : Set up Python 3.10
28- uses : actions/setup-python@v4
27+ - name : Set up Python 3.12
28+ uses : actions/setup-python@v5
2929 with :
30- python-version : " 3.10 "
30+ python-version : " 3.12 "
3131
3232 - name : Install cibuildwheel
33- run : python -m pip install cibuildwheel==2.15.0
33+ run : python -m pip install cibuildwheel==2.23.2
3434
3535 - name : Build wheels
3636 run : python -m cibuildwheel --output-dir wheelhouse
@@ -41,29 +41,29 @@ jobs:
4141
4242 build_sdist :
4343 name : Build source distribution
44- runs-on : ubuntu-22.04
44+ runs-on : ubuntu-latest
4545 steps :
46- - uses : actions/checkout@v3
46+ - uses : actions/checkout@v4
4747 with :
4848 ref : ${{ github.event.inputs.branch }}
4949
50- - name : Set up Python 3.10
51- uses : actions/setup-python@v4
50+ - name : Set up Python 3.12
51+ uses : actions/setup-python@v5
5252 with :
53- python-version : " 3.10 "
53+ python-version : " 3.12 "
5454
5555 - name : Build sdist
5656 run : python setup.py sdist
5757
58- - uses : actions/upload-artifact@v3
58+ - uses : actions/upload-artifact@v4
5959 with :
6060 path : dist/*.tar.gz
6161
6262 publish :
6363 needs : [build_wheels, build_sdist]
64- runs-on : ubuntu-22.04
64+ runs-on : ubuntu-latest
6565 steps :
66- - uses : actions/download-artifact@v3
66+ - uses : actions/download-artifact@v4
6767 with :
6868 name : artifact
6969 path : dist
@@ -72,11 +72,11 @@ jobs:
7272 with :
7373 user : __token__
7474 password : ${{ secrets.PYPI_TEST_TOKEN }}
75- repository_url : https://test.pypi.org/legacy/
75+ repository-url : https://test.pypi.org/legacy/
7676 if : ${{ github.event.inputs.target == 'all' || github.event.inputs.target == 'test' }}
7777 - name : Publish package to PyPI
7878 uses : pypa/gh-action-pypi-publish@release/v1
7979 with :
8080 user : __token__
8181 password : ${{ secrets.PYPI_TOKEN }}
82- if : ${{ github.event.inputs.target == 'all' || github.event.inputs.target == 'live' }}
82+ if : github.event.inputs.target == 'all' || github.event.inputs.target == 'live'
0 commit comments