6767 strategy :
6868 max-parallel : ${{ fromJSON(needs.setup_concurrency.outputs.max-parallel).v }}
6969 fail-fast : true
70- matrix :
70+ matrix :
7171 os : ["ubuntu-22.04", "macos-13", "windows-2022"]
7272 python_version :
7373 - ' 3.9'
@@ -126,38 +126,9 @@ jobs:
126126
127127 - uses : actions/upload-artifact@v4
128128 with :
129- name : " dist -${{ runner.os }}-${{ matrix.python_version }}"
129+ name : " pypi -${{ runner.os }}-${{ matrix.python_version }}"
130130 path : dist
131131
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-
161132 #
162133 # Build roboRIO/raspbian wheels
163134 #
@@ -241,10 +212,10 @@ jobs:
241212 env :
242213 RPYBUILD_STRIP_LIBPYTHON : " 1"
243214 RPYBUILD_CC_LAUNCHER : ccache
244-
215+
245216 - uses : actions/upload-artifact@v4
246217 with :
247- name : dist -${{ matrix.os.name }}
218+ name : cross -${{ matrix.os.name }}
248219 path : dist
249220
250221 #
@@ -259,20 +230,16 @@ jobs:
259230 steps :
260231 - uses : actions/download-artifact@v4
261232 with :
262- name : dist-roborio
263- path : dist/
264-
265- - uses : actions/download-artifact@v4
266- with :
267- name : dist-raspbian
233+ pattern : cross-*
268234 path : dist/
235+ merge-multiple : true
269236
270237 - uses : pypa/gh-action-pypi-publish@release/v1
271238 with :
272239 verify-metadata : false
273240 user : ${{ secrets.WPI_ARTIFACTORY_USERNAME }}
274241 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
276243
277244
278245 publish-pypi :
@@ -289,18 +256,9 @@ jobs:
289256
290257 - uses : actions/download-artifact@v4
291258 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-*
303260 path : dist/
261+ merge-multiple : true
304262
305263 - name : Publish to PyPI
306264 uses : pypa/gh-action-pypi-publish@release/v1
0 commit comments