File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 5656 sudo apt -y install texlive-latex-extra
5757 curl -fsSL https://github.com/jgm/pandoc/releases/download/3.1.9/pandoc-3.1.9-1-amd64.deb -o pandoc.deb
5858 sudo dpkg -i pandoc.deb
59- - name : Build LaTeX
60- run : |
61- cmake -B build ${{github.workspace}}/specs/language
62- cmake --build build --target html
63- cmake --build build --target pdf
64- cp build/hlsl.pdf ${{github.workspace}}/website/public/specs/
65- cp build/html/* ${{github.workspace}}/website/public/specs/
6659 - name : Install Node.js dependencies
6760 run : " [[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
6861 - name : Build with Hugo
7467 hugo \
7568 --minify \
7669 --baseURL "${{ steps.pages.outputs.base_url }}/"
70+ - name : Build LaTeX
71+ run : |
72+ cmake -B build ${{github.workspace}}/specs/language
73+ cmake --build build --target html
74+ cmake --build build --target pdf
75+ mkdir -p ${{github.workspace}}/website/public/specs/
76+ cp build/hlsl.pdf ${{github.workspace}}/website/public/specs/
77+ cp build/html/* ${{github.workspace}}/website/public/specs/
7778 - name : Upload artifact
7879 uses : actions/upload-pages-artifact@v3
7980 with :
You can’t perform that action at this time.
0 commit comments