##// END OF EJS Templates
cron nightly
cron nightly

File last commit:

r28306:42ada4b0
r28306:42ada4b0
Show More
nightly-wheel-build.yml
34 lines | 954 B | text/x-yaml | YamlLexer
/ .github / workflows / nightly-wheel-build.yml
Matthias Bussonnier
Update nightly-wheel-build.yml
r28298 name: Nightly Wheel builder
Matthias Bussonnier
try dispatach weekly build
r28294 on:
workflow_dispatch:
Matthias Bussonnier
cron nightly
r28306 schedule:
# this cron is ran every Sunday at midnight UTC
- cron: '0 0 * * 0'
Matthias Bussonnier
try dispatach weekly build
r28294
Matthias Bussonnier
Update nightly-wheel-build.yml
r28298 jobs:
upload_anaconda:
name: Upload to Anaconda
runs-on: ubuntu-latest
# The artifacts cannot be uploaded on PRs
if: github.event_name != 'pull_request'
Matthias Bussonnier
try dispatach weekly build
r28294
Matthias Bussonnier
Update nightly-wheel-build.yml
r28298 steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: pip
cache-dependency-path: |
setup.cfg
- name: Try building with Python build
if: runner.os != 'Windows' # setup.py does not support sdist on Windows
run: |
Matthias Bussonnier
Update nightly-wheel-build.yml
r28302 python -m pip install build
Matthias Bussonnier
Update nightly-wheel-build.yml
r28298 python -m build
Matthias Bussonnier
try dispatach weekly build
r28294
Martin Fleischmann
fix nightly action repo name
r28299 - name: Upload wheel
Matthias Bussonnier
Update nightly-wheel-build.yml
r28301 uses: scientific-python/upload-nightly-action@main
Martin Fleischmann
fix nightly action repo name
r28299 with:
Matthias Bussonnier
trailing slash
r28305 artifacts_path: dist
Matthias Bussonnier
try double {
r28304 anaconda_nightly_upload_token: ${{secrets.UPLOAD_TOKEN}}