feat(Arbeit): avoid stopping on errors #103
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build_latex: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install TeX Live | |
run: sudo apt update && sudo apt install biber latexmk texlive texlive-bibtex-extra texlive-lang-german texlive-latex-extra texlive-luatex | |
- name: Install tikz-uml | |
run: | | |
wget https://perso.ensta-paristech.fr/~kielbasi/tikzuml/var/files/src/tikzuml-v1.0-2016-03-29.tbz -P /tmp | |
tar -xjf /tmp/tikzuml-v1.0-2016-03-29.tbz -C /tmp | |
mkdir -p ~/texmf/tex/latex/tikz-uml/ | |
cp /tmp/tikzuml-v1.0-2016-03-29/tikz-uml.sty ~/texmf/tex/latex/tikz-uml/ | |
texhash ~/texmf | |
- name: Install the arial font | |
run: | | |
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections | |
sudo apt-get install ttf-mscorefonts-installer | |
- name: Set up Git repository | |
uses: actions/checkout@v4 | |
- name: Compile LaTeX document | |
run: make build | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Arbeit.pdf | |
path: out/Arbeit.pdf |