Skip to content

Upload and build nightly wheels #16

Upload and build nightly wheels

Upload and build nightly wheels #16

Workflow file for this run

name: Upload and build nightly wheels
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
cron:
# Do not attempt to upload nightly through forks
if: github.repository_owner == 'networkx'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- run: |
python -m pip install -r requirements/release.txt
python -m build --sdist --wheel
- uses: scientific-python/upload-nightly-action@main
with:
anaconda_nightly_upload_token: ${{ secrets.ANACONDA_NIGHTLY }}
artifacts_path: dist/