Nightly Wheels #24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nightly Wheels | |
on: | |
schedule: | |
# Run nightly at 2 AM UTC | |
- cron: '0 2 * * *' | |
workflow_dispatch: | |
jobs: | |
build_and_upload_nightly: | |
name: Build and upload nightly wheels | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v5 | |
with: | |
submodules: true | |
fetch-depth: 0 | |
- uses: actions/setup-python@v6 | |
name: Install Python | |
with: | |
python-version: '3.13' | |
- name: Install build dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install hatch | |
- name: Build wheel and sdist | |
run: hatch build | |
- name: Upload nightly wheels | |
uses: scientific-python/upload-nightly-action@b36e8c0c10dbcfd2e05bf95f17ef8c14fd708dbf | |
with: | |
artifacts_path: dist | |
anaconda_nightly_upload_token: ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }} |