Skip to content

misc (#192)

misc (#192) #120

Workflow file for this run

name: Build Cache [using jupyter-book]
on:
push:
branches:
- main
jobs:
cache:
runs-on: ubuntu-latest-gpu
container:
image: ghcr.io/quantecon/lecture-python-container:cuda-12.5.0-anaconda-2024-06-py311
options: --gpus all
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Build HTML
shell: bash -l {0}
run: |
jb build lectures --path-output ./ -W --keep-going
- name: Upload Execution Reports
uses: actions/upload-artifact@v4
if: failure()
with:
name: execution-reports
path: _build/html/reports
- name: Upload "_build" folder (cache)
uses: actions/upload-artifact@v4
with:
name: build-cache
path: _build