mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-21 22:34:21 +00:00
🔨 Remove pdf from report
This commit is contained in:
parent
4c5dbe4302
commit
d6780eeff5
1 changed files with 0 additions and 34 deletions
34
.github/workflows/build-sphinx-report.yml
vendored
34
.github/workflows/build-sphinx-report.yml
vendored
|
@ -40,37 +40,3 @@ jobs:
|
|||
with:
|
||||
name: "report.html.tar.gz"
|
||||
path: "report/build/report.html.tar.gz"
|
||||
latexpdf:
|
||||
name: "Build PDF document"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: "Update apt repositories"
|
||||
run: sudo apt-get update -y
|
||||
- name: "Checkout repository"
|
||||
uses: actions/checkout@v2
|
||||
- name: "Setup Python"
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.9
|
||||
- name: "Setup Poetry"
|
||||
uses: abatilo/actions-poetry@v2.0.0
|
||||
with:
|
||||
poetry-version: 1.1.11
|
||||
- name: "Install LaTeX packages"
|
||||
run: sudo apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-luatex
|
||||
- name: "Install backend dependencies"
|
||||
working-directory: backend/
|
||||
run: poetry install --no-interaction
|
||||
- name: "Find Poetry Python environment"
|
||||
working-directory: backend/
|
||||
run: echo "pythonLocation=$(poetry env list --full-path | cut -f1 -d' ')/bin" >> $GITHUB_ENV
|
||||
- name: "Build LaTeX document with Sphinx"
|
||||
working-directory: report/
|
||||
run: |
|
||||
source $pythonLocation/activate
|
||||
make latexpdf
|
||||
- name: "Upload build artifact"
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: "report.pdf"
|
||||
path: "report/build/latex/sophon.pdf"
|
||||
|
|
Loading…
Reference in a new issue