13
13
push :
14
14
branches :
15
15
- main
16
- - main
16
+ - py2-legacy
17
17
tags :
18
18
- " *.*.*"
19
19
@@ -112,7 +112,7 @@ jobs:
112
112
if : matrix.use_qemu && fromJSON(env.USE_QEMU)
113
113
114
114
- name : Build wheels
115
-
115
+
116
116
if : (!matrix.use_qemu) || fromJSON(env.USE_QEMU)
117
117
env :
118
118
CIBW_ARCHS : " ${{ matrix.arch }}"
@@ -121,7 +121,7 @@ jobs:
121
121
- uses : actions/upload-artifact@v4
122
122
if : (!matrix.use_qemu) || fromJSON(env.USE_QEMU)
123
123
with :
124
- name : Wheel -${{ runner.os }}-${{ matrix.build }}${{ matrix.arch }}
124
+ name : cibw -${{ runner.os }}-${{ matrix.build }}${{ matrix.arch }}
125
125
path : ./wheelhouse/*.whl
126
126
127
127
build_manylinux2010_wheels :
@@ -141,7 +141,7 @@ jobs:
141
141
fetch-depth : 0 # required for versioneer to find tags
142
142
143
143
- name : Build wheels
144
-
144
+
145
145
env :
146
146
CIBW_ARCHS : " ${{ matrix.arch }}"
147
147
CIBW_BUILD : " cp39-manylinux_*"
@@ -150,7 +150,7 @@ jobs:
150
150
151
151
- uses : actions/upload-artifact@v4
152
152
with :
153
- name : Wheel -manylinux2010-${{ matrix.arch }}
153
+ name : cibw -manylinux2010-${{ matrix.arch }}
154
154
path : ./wheelhouse/*.whl
155
155
156
156
build_sdist :
@@ -167,7 +167,7 @@ jobs:
167
167
168
168
- uses : actions/upload-artifact@v4
169
169
with :
170
- name : SDist
170
+ name : cibw-sdist
171
171
path : dist/*.tar.gz
172
172
173
173
test_sdist :
@@ -194,7 +194,7 @@ jobs:
194
194
195
195
- uses : actions/download-artifact@v4
196
196
with :
197
- name : SDist
197
+ name : cibw-sdist
198
198
path : dist
199
199
200
200
- name : Install SDist
@@ -215,9 +215,11 @@ jobs:
215
215
steps :
216
216
- uses : actions/download-artifact@v4
217
217
with :
218
- path : all
218
+ pattern : cibw-*
219
+ merge-multiple : true
220
+ path : dist
219
221
220
- - run : pipx run twine check --strict all/* /*
222
+ - run : pipx run twine check --strict dist /*
221
223
222
224
upload_pypi :
223
225
name : Upload to PyPI
@@ -232,11 +234,8 @@ jobs:
232
234
steps :
233
235
- uses : actions/download-artifact@v4
234
236
with :
235
- path : all
236
-
237
- - name : Merge files
238
- run : |
239
- mkdir dist
240
- mv all/*/* dist/.
237
+ pattern : cibw-*
238
+ merge-multiple : true
239
+ path : dist
241
240
242
241
- uses : pypa/gh-action-pypi-publish@release/v1
0 commit comments