File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build Project [using jupyter-book]
2+ on :
3+ push :
4+ branches :
5+ - main
6+ jobs :
7+ tests :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout
11+ uses : actions/checkout@v2
12+ - name : Set up Python
13+ uses : actions/setup-python@v2
14+ with :
15+ python-version : 3.8
16+ - name : Install Python Dependencies
17+ run : |
18+ pip install -r requirements.txt
19+ - name : Install LaTeX dependencies
20+ run : |
21+ sudo apt-get -qq update
22+ sudo apt-get install -y \
23+ texlive-latex-recommended \
24+ texlive-latex-extra \
25+ texlive-fonts-recommended \
26+ texlive-fonts-extra \
27+ texlive-xetex \
28+ latexmk \
29+ xindy
30+ - name : Set up Julia
31+ uses : julia-actions/setup-julia@v1
32+ with :
33+ version : 1.6.0
34+ - name : Install IJulia
35+ run : julia -e 'using Pkg; Pkg.add("IJulia");'
36+ shell : bash
37+ - name : Build HTML
38+ shell : bash -l {0}
39+ run : |
40+ jb build lectures --path-output ./
41+ - name : Upload the "_build" folder (cache)
42+ uses : actions/upload-artifact@v2
43+ with :
44+ name : build-cache
45+ path : _build
You can’t perform that action at this time.
0 commit comments