|
1 | 1 | name: Wheels
|
2 | 2 |
|
3 | 3 | 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" |
4 | 12 | push:
|
5 | 13 | paths:
|
6 | 14 | - ".ci/requirements-cibw.txt"
|
|
33 | 41 |
|
34 | 42 | jobs:
|
35 | 43 | build-1-QEMU-emulated-wheels:
|
| 44 | + if: github.event_name != 'schedule' |
36 | 45 | name: aarch64 ${{ matrix.python-version }} ${{ matrix.spec }}
|
37 | 46 | runs-on: ubuntu-latest
|
38 | 47 | strategy:
|
@@ -140,6 +149,13 @@ jobs:
|
140 | 149 | name: dist-${{ matrix.os }}-${{ matrix.cibw_arch }}${{ matrix.manylinux && format('-{0}', matrix.manylinux) }}
|
141 | 150 | path: ./wheelhouse/*.whl
|
142 | 151 |
|
| 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 | + |
143 | 159 | windows:
|
144 | 160 | name: Windows ${{ matrix.cibw_arch }}
|
145 | 161 | runs-on: windows-latest
|
@@ -226,7 +242,15 @@ jobs:
|
226 | 242 | name: fribidi-windows-${{ matrix.cibw_arch }}
|
227 | 243 | path: winbuild\build\bin\fribidi*
|
228 | 244 |
|
| 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 | + |
229 | 252 | sdist:
|
| 253 | + if: github.event_name != 'schedule' |
230 | 254 | runs-on: ubuntu-latest
|
231 | 255 | steps:
|
232 | 256 | - uses: actions/checkout@v4
|
|
0 commit comments