| 1 |
name: nightly build and upload |
| 2 |
on: |
| 3 |
workflow_dispatch: |
| 4 |
schedule: |
| 5 |
- cron: "0 0 * * *" |
| 6 |
|
| 7 |
defaults: |
| 8 |
run: |
| 9 |
shell: bash -eux {0} |
| 10 |
|
| 11 |
jobs: |
| 12 |
build: |
| 13 |
runs-on: "ubuntu-latest" |
| 14 |
strategy: |
| 15 |
fail-fast: false |
| 16 |
matrix: |
| 17 |
python-version: ["3.12"] |
| 18 |
steps: |
| 19 |
- name: Checkout |
| 20 |
uses: actions/checkout@v6 |
| 21 |
|
| 22 |
- name: Base Setup |
| 23 |
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 |
| 24 |
|
| 25 |
- name: Build |
| 26 |
run: | |
| 27 |
python -m pip install build |
| 28 |
python -m build |
| 29 |
- name: Upload wheel |
| 30 |
uses: scientific-python/upload-nightly-action@5748273c71e2d8d3a61f3a11a16421c8954f9ecf # 0.6.3 |
| 31 |
with: |
| 32 |
artifacts_path: dist |
| 33 |
anaconda_nightly_upload_token: ${{secrets.UPLOAD_TOKEN}} |