File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 3333 name : book
3434 path : book
3535
36+ build-pdf :
37+ runs-on : ubuntu-latest
38+ steps :
39+ - name : Install dependencies
40+ run : |
41+ sudo apt-get update
42+ sudo apt-get install -y \
43+ gh \
44+ texlive-latex-recommended \
45+ texlive-latex-extra \
46+ texlive-fonts-recommended \
47+ texlive-fonts-extra \
48+ texlive-xetex \
49+ latexmk \
50+ lmodern \
51+ texlive-science
52+
53+ - name : Install pandoc
54+ uses : pandoc/actions/setup@v1
55+
56+ - name : Checkout source
57+ uses : actions/checkout@v4
58+
59+ - name : Build PDF book
60+ run : make pdf
61+
62+ - name : Upload pdf book artifact
63+ uses : actions/upload-artifact@v4
64+ with :
65+ name : cheri-c-programming.pdf
66+ path : book
67+
3668 deploy :
3769 if : github.event_name == 'push' && github.ref == 'refs/heads/master'
3870 needs : build-mdbook
You can’t perform that action at this time.
0 commit comments