30
30
sha : ${{ steps.autotag.outputs.tagsha }}
31
31
steps :
32
32
- name : Checkout
33
- uses : actions/checkout@v3
33
+ uses : actions/checkout@v4
34
34
- name : Autoadd release Tags
35
- uses : sbrodehl/action-autotag@v2
35
+ uses : sbrodehl/action-autotag@v3
36
36
id : autotag
37
37
with :
38
38
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -55,10 +55,10 @@ jobs:
55
55
if : ${{ needs.auto-tag.outputs.sha && inputs.deploy }}
56
56
steps :
57
57
- name : Download all the dists
58
- uses : actions/download-artifact@v2
58
+ uses : actions/download-artifact@v4
59
59
with :
60
- name : wheels
61
60
path : ./dist/
61
+ merge-multiple : true
62
62
- name : Publish to PyPI
63
63
uses : pypa/gh-action-pypi-publish@release/v1
64
64
with :
@@ -83,12 +83,12 @@ jobs:
83
83
- os : ubuntu-20.04
84
84
cibw_archs : " aarch64"
85
85
steps :
86
- - uses : actions/checkout@v3
86
+ - uses : actions/checkout@v4
87
87
with :
88
88
fetch-depth : 0
89
89
90
90
- name : Set up Python
91
- uses : actions/setup-python@v4
91
+ uses : actions/setup-python@v5
92
92
with :
93
93
python-version : 3.x
94
94
@@ -100,15 +100,16 @@ jobs:
100
100
101
101
- name : Install cibuildwheel
102
102
run : |
103
- python -m pip install cibuildwheel==2.11.2
103
+ python -m pip install cibuildwheel
104
104
105
- - name : Build wheels for CPython 3.10 / 3.11
105
+ - name : Build wheels for CPython 3.10+
106
106
run : |
107
107
python -m cibuildwheel --output-dir dist
108
108
env :
109
- CIBW_BUILD : " cp310-* cp311-*"
110
- CIBW_MANYLINUX_X86_64_IMAGE : manylinux_2_24
111
- CIBW_MANYLINUX_AARCH64_IMAGE : manylinux_2_24
109
+ CIBW_BUILD : " {c,p}p3*"
110
+ CIBW_SKIP : " {c,p}p3{6..9}-*"
111
+ CIBW_MANYLINUX_X86_64_IMAGE : manylinux_2_28
112
+ CIBW_MANYLINUX_AARCH64_IMAGE : manylinux_2_28
112
113
CIBW_BEFORE_ALL_LINUX : apt-get update && apt-get --yes --allow-downgrades --allow-remove-essential install libatlas-base-dev
113
114
CIBW_BEFORE_BUILD : python -m pip install -U pip && python -m pip install -r requirements.txt
114
115
CIBW_ARCHS : ${{ matrix.cibw_archs }}
@@ -117,26 +118,26 @@ jobs:
117
118
run : |
118
119
python -m cibuildwheel --output-dir dist
119
120
env :
120
- CIBW_BUILD : " cp37 -* cp38 -* cp39 -*"
121
+ CIBW_BUILD : " {c,p}p37 -* {c,p}p38 -* {c,p}p39 -*"
121
122
CIBW_MANYLINUX_X86_64_IMAGE : manylinux2014
122
123
CIBW_MANYLINUX_AARCH64_IMAGE : manylinux2014
123
124
CIBW_BEFORE_ALL_LINUX : yum install -y atlas-devel
124
125
CIBW_BEFORE_BUILD : python -m pip install -U pip && python -m pip install -r requirements.txt
125
126
CIBW_ARCHS : ${{ matrix.cibw_archs }}
126
127
127
- - uses : actions/upload-artifact@v3
128
+ - uses : actions/upload-artifact@v4
128
129
with :
129
- name : wheels
130
+ name : wheels-${{ matrix.os }}-${{ matrix.cibw_archs }}
130
131
path : ./dist/*.whl
131
132
132
133
build_sdist :
133
134
name : Build source distribution
134
135
runs-on : ubuntu-latest
135
136
needs : [auto-tag]
136
137
steps :
137
- - uses : actions/checkout@v3
138
+ - uses : actions/checkout@v4
138
139
139
- - uses : actions/setup-python@v4
140
+ - uses : actions/setup-python@v5
140
141
name : Switch to using Python 3.x
141
142
with :
142
143
python-version : 3.x
@@ -157,7 +158,7 @@ jobs:
157
158
cd ${GITHUB_WORKSPACE}
158
159
159
160
- name : Store source distribution
160
- uses : actions/upload-artifact@v3
161
+ uses : actions/upload-artifact@v4
161
162
with :
162
163
name : wheels
163
164
path : ./dist/*tar.gz
@@ -174,9 +175,9 @@ jobs:
174
175
needs : [build_sdist]
175
176
runs-on : ubuntu-latest
176
177
steps :
177
- - uses : actions/checkout@v3
178
+ - uses : actions/checkout@v4
178
179
179
- - uses : actions/setup-python@v4
180
+ - uses : actions/setup-python@v5
180
181
name : Switch to using Python 3.x
181
182
with :
182
183
python-version : 3.x
0 commit comments