Skip to content

Small additions

Small additions #52

Workflow file for this run

name: Build LaTex summary
on: [pull_request]
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: build latex pdf (portrait/with examples)
uses: docker://texlive/texlive:latest
with:
args: latexmk -pdf -cd -interaction=nonstopmode -file-line-error -jobname=analysis_III_full_portrait -outdir=../build ./src/main.tex
- name: change flags
run: sed '0,/{1}/s//{0}/' -i src/headers/flags.tex ;
- name: build latex pdf (landscape/with examples)
uses: docker://texlive/texlive:latest
with:
args: latexmk -pdf -cd -interaction=nonstopmode -file-line-error -jobname=analysis_III_full_landscape -outdir=../build ./src/main.tex
- name: change flags
run: sed '0,/{1}/s//{0}/' -i src/headers/flags.tex ;
- name: build latex pdf (landscape/without examples)
uses: docker://texlive/texlive:latest
with:
args: latexmk -pdf -cd -interaction=nonstopmode -file-line-error -jobname=analysis_III_landscape -outdir=../build ./src/main.tex
- name: change flags
run: sed '0,/{0}/s//{1}/' -i src/headers/flags.tex ;
- name: build latex pdf (portrait/without examples)
uses: docker://texlive/texlive:latest
with:
args: latexmk -pdf -cd -interaction=nonstopmode -file-line-error -jobname=analysis_III_portrait -outdir=../build ./src/main.tex
- name: change flags
run: sed '0,/{0}/s//{1}/' -i src/headers/flags.tex ;
- name: Archive pdf's as artifacts
uses: actions/upload-artifact@v3
with:
name: compiled-pdf
path: build/*.pdf
retention-days: 5