Build latex definition in CI #6
Workflow file for this run
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
# Workflow that validate latex files | |
name: latex definition files | |
on: | |
push: | |
branches: [ main ] | |
# Runs on all push to main, to make sure there's no other side effet | |
pull_request: | |
branches: [ main ] | |
# But only runs on PR that touches tex files | |
paths: | |
- '**/*.tex' | |
jobs: | |
latex-compile: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install latex packages | |
run: sudo apt install texlive-latex-base texlive-latex-extra | |
- name: Builds latex files | |
working-directory: packages/transition-backend/file/definitions | |
run: | | |
pdflatex definitions-en.tex | |
pdflatex definitions-fr.tex |