##// END OF EJS Templates
CI: update actions version (#14522)...
CI: update actions version (#14522) I've noticed the warnings while doing https://github.com/ipython/ipython/pull/14521

File last commit:

r28856:18934670
r28859:68a3854c merge
Show More
nightly-wheel-build.yml
34 lines | 1.1 KiB | text/x-yaml | YamlLexer
name: Nightly Wheel builder
on:
workflow_dispatch:
schedule:
# this cron is ran every Sunday at midnight UTC
- cron: '0 0 * * 0'
jobs:
upload_anaconda:
name: Upload to Anaconda
runs-on: ubuntu-latest
# The artifacts cannot be uploaded on PRs, also disable scheduled CI runs on forks
if: github.event_name != 'pull_request' && (github.event_name != 'schedule' || github.repository_owner == 'ipython')
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: pip
cache-dependency-path: |
pyproject.toml
- name: Try building with Python build
if: runner.os != 'Windows' # setup.py does not support sdist on Windows
run: |
python -m pip install build
python -m build
- name: Upload wheel
uses: scientific-python/upload-nightly-action@main
with:
artifacts_path: dist
anaconda_nightly_upload_token: ${{secrets.UPLOAD_TOKEN}}