##// END OF EJS Templates
Disable scheduled CI runs on forks (#14366)...
Disable scheduled CI runs on forks (#14366) The three scheduled CI runs are running on forks of the main repo, e.g. https://github.com/ianthomas23/ipython/actions. They can be disabled by each fork owner, but this PR disables them for all forks.

File last commit:

r28693:402cb44a
r28694:43f9010d merge
Show More
nightly-wheel-build.yml
34 lines | 1.1 KiB | 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
Ian Thomas
Disable scheduled CI runs on forks
r28693 # 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')
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: |
Matthias Koeppe
.github/workflows: Update actions/setup-python cache-dependency-path
r28635 pyproject.toml
Matthias Bussonnier
Update nightly-wheel-build.yml
r28298 - 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}}