-
Notifications
You must be signed in to change notification settings - Fork 113
45 lines (37 loc) · 1.1 KB
/
nocache.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Rebuild Entire Jupyter Book on all Platforms
on:
workflow_dispatch:
# Allow one concurrent deployment
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build on ${{ matrix.runs-on }}
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
runs-on: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: prefix-dev/[email protected]
with:
manifest-path: pyproject.toml
cache: true
activate-environment: true
# https://github.com/xarray-contrib/xarray-tutorial/issues/311
- name: Configure graphviz
if: matrix.runs-on == 'macos-latest'
run: |
dot -c
- name: Build JupyterBook
id: jb-build
continue-on-error: true
run: |
jupyter-book build ./ --warningiserror --keep-going
- name: Dump Build Logs
if: steps.jb-build.outcome == 'failure'
run: |
cat _build/html/reports/**/*.log