@@ -14,16 +14,21 @@ jobs:
1414 strategy :
1515 fail-fast : false
1616 matrix :
17- python-version : ["3.8", "3.9", "3.10"]
18- os : [ubuntu-latest, macos-latest, windows-latest]
17+ python-version : ["3.8", "3.9", "3.10", "3.11"]
18+ os : [ubuntu-latest]
19+ include :
20+ - python-version : " 3.10"
21+ os : macos-latest
22+ - python-version : " 3.10"
23+ os : windows-latest
1924 steps :
2025 - name : Clone the repo
21- uses : actions/checkout@v2
26+ uses : actions/checkout@v4
2227 with :
2328 fetch-depth : 0
2429 submodules : recursive
2530 - name : Set up Python ${{ matrix.python-version }}
26- uses : actions/setup-python@v2
31+ uses : actions/setup-python@v4
2732 with :
2833 python-version : ${{ matrix.python-version }}
2934 - name : Install dependencies
@@ -38,12 +43,12 @@ jobs:
3843 runs-on : ubuntu-latest
3944 steps :
4045 - name : Clone the repo
41- uses : actions/checkout@v2
46+ uses : actions/checkout@v4
4247 with :
4348 fetch-depth : 0
4449 submodules : recursive
4550 - name : Set up Python
46- uses : actions/setup-python@v2
51+ uses : actions/setup-python@v4
4752 with :
4853 python-version : 3.9
4954 - name : Install dependencies
@@ -60,29 +65,29 @@ jobs:
6065 runs-on : ${{ matrix.os }}
6166 strategy :
6267 matrix :
63- os : [ubuntu-20.04 , windows-2019 , macos-10.15 ]
68+ os : [ubuntu-latest , windows-latest , macos-latest ]
6469 steps :
65- - uses : actions/checkout@v2
70+ - uses : actions/checkout@v4
6671 with :
6772 submodules : true
6873 fetch-depth : 0
69- - uses : pypa/cibuildwheel@2.5.0
74+ - uses : pypa/cibuildwheel@v2.16.2
7075 env :
71- CIBW_SKIP : " *-win32 *-manylinux_i686 "
76+ CIBW_SKIP : " *-win32 *_i686 "
7277 CIBW_MANYLINUX_X86_64_IMAGE : manylinux2014
73- - uses : actions/upload-artifact@v2
78+ - uses : actions/upload-artifact@v3
7479 with :
7580 path : ./wheelhouse/*.whl
7681
7782 build_sdist :
7883 name : Build source distribution
7984 runs-on : ubuntu-latest
8085 steps :
81- - uses : actions/checkout@v2
86+ - uses : actions/checkout@v4
8287 with :
8388 submodules : true
8489 fetch-depth : 0
85- - uses : actions/setup-python@v2
90+ - uses : actions/setup-python@v4
8691 name : Install Python
8792 with :
8893 python-version : " 3.9"
9196 python -m pip install -U pip
9297 python -m pip install -U build
9398 python -m build --sdist .
94- - uses : actions/upload-artifact@v2
99+ - uses : actions/upload-artifact@v3
95100 with :
96101 path : dist/*.tar.gz
97102
@@ -100,12 +105,12 @@ jobs:
100105 runs-on : ubuntu-latest
101106 if : github.event_name == 'release' && github.event.action == 'published'
102107 steps :
103- - uses : actions/download-artifact@v2
108+ - uses : actions/download-artifact@v3
104109 with :
105110 name : artifact
106111 path : dist
107112
108- - uses : pypa/gh-action-pypi-publish@v1.4.2
113+ - uses : pypa/gh-action-pypi-publish@v1.8.10
109114 with :
110115 user : __token__
111116 password : ${{ secrets.pypi_password }}
0 commit comments