Skip to content

Commit 024fa51

Browse files
authored
Merge pull request #8236 from lysnikolaou/upload-nightly-wheels
2 parents 47fc36a + d83c7b3 commit 024fa51

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/wheels.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
name: Wheels
22

33
on:
4+
schedule:
5+
# ┌───────────── minute (0 - 59)
6+
# │ ┌───────────── hour (0 - 23)
7+
# │ │ ┌───────────── day of the month (1 - 31)
8+
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
9+
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
10+
# │ │ │ │ │
11+
- cron: "42 1 * * 0,3"
412
push:
513
paths:
614
- ".ci/requirements-cibw.txt"
@@ -33,6 +41,7 @@ env:
3341

3442
jobs:
3543
build-1-QEMU-emulated-wheels:
44+
if: github.event_name != 'schedule'
3645
name: aarch64 ${{ matrix.python-version }} ${{ matrix.spec }}
3746
runs-on: ubuntu-latest
3847
strategy:
@@ -140,6 +149,13 @@ jobs:
140149
name: dist-${{ matrix.os }}-${{ matrix.cibw_arch }}${{ matrix.manylinux && format('-{0}', matrix.manylinux) }}
141150
path: ./wheelhouse/*.whl
142151

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+
143159
windows:
144160
name: Windows ${{ matrix.cibw_arch }}
145161
runs-on: windows-latest
@@ -226,7 +242,15 @@ jobs:
226242
name: fribidi-windows-${{ matrix.cibw_arch }}
227243
path: winbuild\build\bin\fribidi*
228244

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+
229252
sdist:
253+
if: github.event_name != 'schedule'
230254
runs-on: ubuntu-latest
231255
steps:
232256
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)