67
67
strategy :
68
68
max-parallel : ${{ fromJSON(needs.setup_concurrency.outputs.max-parallel).v }}
69
69
fail-fast : true
70
- matrix :
70
+ matrix :
71
71
os : ["ubuntu-22.04", "macos-13", "windows-2022"]
72
72
python_version :
73
73
- ' 3.9'
@@ -126,38 +126,9 @@ jobs:
126
126
127
127
- uses : actions/upload-artifact@v4
128
128
with :
129
- name : " dist -${{ runner.os }}-${{ matrix.python_version }}"
129
+ name : " pypi -${{ runner.os }}-${{ matrix.python_version }}"
130
130
path : dist
131
131
132
- merge :
133
- runs-on : ubuntu-latest
134
- needs : [cross-build, build]
135
- steps :
136
- - name : Merge Windows Artifacts
137
- uses : actions/upload-artifact/merge@v4
138
- with :
139
- name : dist-Windows
140
- pattern : dist-Windows*
141
- delete-merged : true
142
- - name : Merge Linux Artifacts
143
- uses : actions/upload-artifact/merge@v4
144
- with :
145
- name : dist-Linux
146
- pattern : dist-Linux*
147
- delete-merged : true
148
- - name : Merge macOS Artifacts
149
- uses : actions/upload-artifact/merge@v4
150
- with :
151
- name : dist-macOS
152
- pattern : dist-macOS*
153
- delete-merged : true
154
- - name : Merge raspbian Artifacts
155
- uses : actions/upload-artifact/merge@v4
156
- with :
157
- name : dist-raspbian
158
- pattern : dist-raspbian*
159
- delete-merged : true
160
-
161
132
#
162
133
# Build roboRIO/raspbian wheels
163
134
#
@@ -241,10 +212,10 @@ jobs:
241
212
env :
242
213
RPYBUILD_STRIP_LIBPYTHON : " 1"
243
214
RPYBUILD_CC_LAUNCHER : ccache
244
-
215
+
245
216
- uses : actions/upload-artifact@v4
246
217
with :
247
- name : dist -${{ matrix.os.name }}
218
+ name : cross -${{ matrix.os.name }}
248
219
path : dist
249
220
250
221
#
@@ -259,20 +230,16 @@ jobs:
259
230
steps :
260
231
- uses : actions/download-artifact@v4
261
232
with :
262
- name : dist-roborio
263
- path : dist/
264
-
265
- - uses : actions/download-artifact@v4
266
- with :
267
- name : dist-raspbian
233
+ pattern : cross-*
268
234
path : dist/
235
+ merge-multiple : true
269
236
270
237
- uses : pypa/gh-action-pypi-publish@release/v1
271
238
with :
272
239
verify-metadata : false
273
240
user : ${{ secrets.WPI_ARTIFACTORY_USERNAME }}
274
241
password : ${{ secrets.WPI_ARTIFACTORY_TOKEN }}
275
- repository-url : https://wpilib.jfrog.io/artifactory/api/pypi/wpilib-python-release-2024 -local
242
+ repository-url : https://wpilib.jfrog.io/artifactory/api/pypi/wpilib-python-release-2025 -local
276
243
277
244
278
245
publish-pypi :
@@ -289,18 +256,9 @@ jobs:
289
256
290
257
- uses : actions/download-artifact@v4
291
258
with :
292
- name : dist-Windows
293
- path : dist/
294
-
295
- - uses : actions/download-artifact@v4
296
- with :
297
- name : dist-macOS
298
- path : dist/
299
-
300
- - uses : actions/download-artifact@v4
301
- with :
302
- name : dist-Linux
259
+ pattern : pypi-*
303
260
path : dist/
261
+ merge-multiple : true
304
262
305
263
- name : Publish to PyPI
306
264
uses : pypa/gh-action-pypi-publish@release/v1
0 commit comments