66 - v*.*.*
77
88jobs :
9-
109 wheel :
1110 runs-on : ubuntu-latest
12- name : Build universal wheel
11+ name : Build wheel
1312 steps :
1413 - name : Checkout code
15- uses : actions/checkout@v2
14+ uses : actions/checkout@v4
1615 with :
1716 submodules : true
18- - name : Setup Python 3.9
19- uses : actions/setup-python@v2
17+ - name : Setup Python 3.14
18+ uses : actions/setup-python@v5
2019 with :
21- python-version : 3.9
20+ python-version : ' 3.14'
21+ cache : pip
2222 - name : Install build requirements
23- run : python -m pip install -r ci/requirements.txt
23+ run : |
24+ python -m pip install -U pip wheel setuptools
25+ python -m pip install -r ci/requirements.txt
2426 - name : Build wheel
25- run : python setup.py bdist_wheel
27+ run : python -m build --wheel
2628 - name : Store built wheels
27- uses : actions/upload-artifact@v2
29+ uses : actions/upload-artifact@v4
2830 with :
29- name : dist
31+ name : dist-wheel
3032 path : dist/*
3133
3234 sdist :
3335 runs-on : ubuntu-latest
3436 name : Build source distribution
3537 steps :
3638 - name : Checkout code
37- uses : actions/checkout@v2
39+ uses : actions/checkout@v4
3840 with :
3941 submodules : true
40- - name : Set up Python 3.9
41- uses : actions/setup-python@v2
42+ - name : Set up Python 3.14
43+ uses : actions/setup-python@v5
4244 with :
43- python-version : 3.9
45+ python-version : ' 3.14'
46+ cache : pip
4447 - name : Install build requirements
45- run : python -m pip install -r ci/requirements.txt
46- - name : Build wheel distribution
47- run : python setup.py sdist
48+ run : |
49+ python -m pip install -U pip wheel setuptools
50+ python -m pip install -r ci/requirements.txt
51+ - name : Build source distribution
52+ run : python -m build --sdist
4853 - name : Store built wheels
49- uses : actions/upload-artifact@v2
54+ uses : actions/upload-artifact@v4
5055 with :
51- name : dist
56+ name : dist-sdist
5257 path : dist/*
5358
5459 upload :
@@ -60,13 +65,14 @@ jobs:
6065 - wheel
6166 steps :
6267 - name : Download built distributions
63- uses : actions/download-artifact@v2
68+ uses : actions/download-artifact@v4
6469 with :
65- name : dist
70+ pattern : dist-*
6671 path : dist
72+ merge-multiple : true
6773 - name : Publish distributions to PyPI
6874 if : startsWith(github.ref, 'refs/tags/v')
69- uses : pypa/gh-action-pypi-publish@master
75+ uses : pypa/gh-action-pypi-publish@release/v1
7076 with :
7177 user : __token__
7278 password : ${{ secrets.PYPI_API_TOKEN }}
8086 needs : upload
8187 steps :
8288 - name : Checkout code
83- uses : actions/checkout@v1
89+ uses : actions/checkout@v4
8490 with :
8591 submodules : true
8692 - name : Release a Changelog
0 commit comments