File tree Expand file tree Collapse file tree 3 files changed +29
-1
lines changed
Expand file tree Collapse file tree 3 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 77 type : string
88
99jobs :
10+ generate-manual-pdf :
11+ if : ${{ inputs.target == 'manual-pdf' || inputs.target == 'all' }}
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout Repository
15+ uses : actions/checkout@v4
16+
17+ - name : Install TeX Dependencies
18+ run : |
19+ sudo apt update
20+ sudo apt install -y latex-make texlive-latex-base texlive-lang-portuguese
21+
22+ - name : Generate PDF from manual.tex
23+ run : |
24+ pdflatex -interaction=nonstopmode -output-directory=doc doc/manual/manual.tex
25+
26+ - name : Upload PDF Artifact
27+ uses : actions/upload-artifact@v4
28+ with :
29+ name : manual-pdf
30+ path : doc/manual.pdf
31+
1032 build-linux :
1133 if : ${{ inputs.target == 'linux' || inputs.target == 'all' }}
1234 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 2323 name : gpt-linux
2424 path : release/linux
2525
26+ - uses : actions/download-artifact@v4
27+ with :
28+ name : manual-pdf
29+ path : release/manual
30+
2631 - name : Repack Windows zip
2732 run : |
2833 cd release
4550 files : |
4651 release/gpt-win-x86_64.zip
4752 release/gpt-linux-x86_64.tar.gz
53+ release/manual/manual.pdf
4854
4955 env :
5056 GITHUB_TOKEN : ${{ secrets.GH_RELEASE_TOKEN }}
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ Documentação na pasta [doc](doc) e o manual (LaTeX) em [doc/manual](doc/manual
193193### Instalar dependências no Debian/Ubuntu
194194
195195``` shell
196- sudo apt install -y latex-make texlive-latex-base latex2html
196+ sudo apt install -y latex-make texlive-latex-base texlive-lang-portuguese latex2html
197197```
198198
199199### Compilar o manual
You can’t perform that action at this time.
0 commit comments