@@ -149,13 +149,6 @@ jobs:
149149 name : dist-${{ matrix.os }}-${{ matrix.cibw_arch }}${{ matrix.manylinux && format('-{0}', matrix.manylinux) }}
150150 path : ./wheelhouse/*.whl
151151
152- - name : Upload wheels to scientific-python-nightly-wheels
153- if : github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
154- uses : scientific-python/upload-nightly-action@b67d7fcc0396e1128a474d1ab2b48aa94680f9fc # 0.5.0
155- with :
156- artifacts_path : ./wheelhouse
157- anaconda_nightly_upload_token : ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }}
158-
159152 windows :
160153 name : Windows ${{ matrix.cibw_arch }}
161154 runs-on : windows-latest
@@ -242,13 +235,6 @@ jobs:
242235 name : fribidi-windows-${{ matrix.cibw_arch }}
243236 path : winbuild\build\bin\fribidi*
244237
245- - name : Upload wheels to scientific-python-nightly-wheels
246- if : github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
247- uses : scientific-python/upload-nightly-action@b67d7fcc0396e1128a474d1ab2b48aa94680f9fc # 0.5.0
248- with :
249- artifacts_path : ./wheelhouse
250- anaconda_nightly_upload_token : ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }}
251-
252238 sdist :
253239 if : github.event_name != 'schedule'
254240 runs-on : ubuntu-latest
@@ -269,6 +255,23 @@ jobs:
269255 name : dist-sdist
270256 path : dist/*.tar.gz
271257
258+ scientific-python-nightly-wheels-publish :
259+ if : github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
260+ needs : [build-2-native-wheels, windows]
261+ runs-on : ubuntu-latest
262+ name : Upload wheels to scientific-python-nightly-wheels
263+ steps :
264+ - uses : actions/download-artifact@v4
265+ with :
266+ pattern : dist-*
267+ path : dist
268+ merge-multiple : true
269+ - name : Upload wheels to scientific-python-nightly-wheels
270+ uses : scientific-python/upload-nightly-action@b67d7fcc0396e1128a474d1ab2b48aa94680f9fc # 0.5.0
271+ with :
272+ artifacts_path : dist
273+ anaconda_nightly_upload_token : ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }}
274+
272275 pypi-publish :
273276 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
274277 needs : [build-1-QEMU-emulated-wheels, build-2-native-wheels, windows, sdist]
0 commit comments