41
41
- uses : actions/checkout@v4
42
42
- uses : psf/black@stable
43
43
44
- - uses : actions/setup-python@v4
44
+ - uses : actions/setup-python@v5
45
45
with :
46
46
python-version : " 3.12"
47
47
79
79
- uses : actions/checkout@v4
80
80
with :
81
81
fetch-depth : 0
82
- - uses : actions/setup-python@v4
82
+ - uses : actions/setup-python@v5
83
83
with :
84
84
python-version : ${{ matrix.python_version }}
85
85
@@ -123,11 +123,40 @@ jobs:
123
123
RPYBUILD_STRIP_LIBPYTHON : " 1"
124
124
RPYBUILD_CC_LAUNCHER : ccache
125
125
126
- - uses : actions/upload-artifact@v3
126
+ - uses : actions/upload-artifact@v4
127
127
with :
128
- name : " dist-${{ runner.os }}"
128
+ name : " dist-${{ runner.os }}-${{ matrix.python_version }} "
129
129
path : dist
130
130
131
+ merge :
132
+ runs-on : ubuntu-latest
133
+ needs : [cross-build, build]
134
+ steps :
135
+ - name : Merge Windows Artifacts
136
+ uses : actions/upload-artifact/merge@v4
137
+ with :
138
+ name : dist-Windows
139
+ pattern : dist-Windows*
140
+ delete-merged : true
141
+ - name : Merge Linux Artifacts
142
+ uses : actions/upload-artifact/merge@v4
143
+ with :
144
+ name : dist-Linux
145
+ pattern : dist-Linux*
146
+ delete-merged : true
147
+ - name : Merge macOS Artifacts
148
+ uses : actions/upload-artifact/merge@v4
149
+ with :
150
+ name : dist-macOS
151
+ pattern : dist-macOS*
152
+ delete-merged : true
153
+ - name : Merge raspbian Artifacts
154
+ uses : actions/upload-artifact/merge@v4
155
+ with :
156
+ name : dist-raspbian
157
+ pattern : dist-raspbian*
158
+ delete-merged : true
159
+
131
160
#
132
161
# Build roboRIO/raspbian wheels
133
162
#
@@ -143,26 +172,26 @@ jobs:
143
172
name : roborio
144
173
145
174
- container : wpilib/raspbian-cross-ubuntu:bullseye-22.04-py38
146
- name : raspbian
175
+ name : raspbian-py38
147
176
- container : wpilib/raspbian-cross-ubuntu:bullseye-22.04-py39
148
- name : raspbian
177
+ name : raspbian-py39
149
178
- container : wpilib/raspbian-cross-ubuntu:bullseye-22.04-py310
150
- name : raspbian
179
+ name : raspbian-py310
151
180
- container : wpilib/raspbian-cross-ubuntu:bullseye-22.04-py311
152
- name : raspbian
181
+ name : raspbian-py311
153
182
- container : wpilib/raspbian-cross-ubuntu:bullseye-22.04-py312
154
- name : raspbian
183
+ name : raspbian-py312
155
184
156
185
- container : wpilib/aarch64-cross-ubuntu:bullseye-22.04-py38
157
- name : raspbian
186
+ name : raspbian-aarch64-py38
158
187
- container : wpilib/aarch64-cross-ubuntu:bullseye-22.04-py39
159
- name : raspbian
188
+ name : raspbian-aarch64-py39
160
189
- container : wpilib/aarch64-cross-ubuntu:bullseye-22.04-py310
161
- name : raspbian
190
+ name : raspbian-aarch64-py310
162
191
- container : wpilib/aarch64-cross-ubuntu:bullseye-22.04-py311
163
- name : raspbian
192
+ name : raspbian-aarch64-py311
164
193
- container : wpilib/aarch64-cross-ubuntu:bullseye-22.04-py312
165
- name : raspbian
194
+ name : raspbian-aarch64-py312
166
195
167
196
container :
168
197
image : " ${{ matrix.os.container }}"
@@ -206,7 +235,7 @@ jobs:
206
235
RPYBUILD_STRIP_LIBPYTHON : " 1"
207
236
RPYBUILD_CC_LAUNCHER : ccache
208
237
209
- - uses : actions/upload-artifact@v3
238
+ - uses : actions/upload-artifact@v4
210
239
with :
211
240
name : dist-${{ matrix.os.name }}
212
241
path : dist
@@ -221,12 +250,12 @@ jobs:
221
250
if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
222
251
223
252
steps :
224
- - uses : actions/download-artifact@v3
253
+ - uses : actions/download-artifact@v4
225
254
with :
226
255
name : dist-roborio
227
256
path : dist/
228
257
229
- - uses : actions/download-artifact@v3
258
+ - uses : actions/download-artifact@v4
230
259
with :
231
260
name : dist-raspbian
232
261
path : dist/
@@ -251,17 +280,17 @@ jobs:
251
280
with :
252
281
fetch-depth : 0
253
282
254
- - uses : actions/download-artifact@v3
283
+ - uses : actions/download-artifact@v4
255
284
with :
256
285
name : dist-Windows
257
286
path : dist/
258
287
259
- - uses : actions/download-artifact@v3
288
+ - uses : actions/download-artifact@v4
260
289
with :
261
290
name : dist-macOS
262
291
path : dist/
263
292
264
- - uses : actions/download-artifact@v3
293
+ - uses : actions/download-artifact@v4
265
294
with :
266
295
name : dist-Linux
267
296
path : dist/
0 commit comments