##// END OF EJS Templates
crashhandler: Cast rptdir to Path (#14578)...
crashhandler: Cast rptdir to Path (#14578) Previously `self.app.ipython_dir` is a string, which makes `Path.is_dir(<object>)` fail. Note that the argument is `self` i.e. should be a `Path` instance. If `ipython_dir` is `None` then this code would just catch it in the `except:` branch, which makes it be set to `Path.cwd()` anyway.

File last commit:

r28856:18934670
r28963:d7eebae4 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}}