CI: use v2 of xu-cheng/latex-action workflow.

This commit is contained in:
Máté Cserép 2021-09-20 15:39:24 +02:00
parent eba9354155
commit b972ebdebd

View File

@ -3,7 +3,7 @@ on: [push]
jobs: jobs:
build_latex: build_latex:
strategy: strategy:
matrix: matrix:
engine: [pdflatex, lualatex] engine: [pdflatex, lualatex]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -11,7 +11,7 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- if: ${{ matrix.engine == 'pdflatex' }} - if: ${{ matrix.engine == 'pdflatex' }}
name: Compile LaTeX document name: Compile LaTeX document
uses: xu-cheng/latex-action@master uses: xu-cheng/latex-action@v2
with: with:
root_file: | root_file: |
thesis.tex thesis.tex
@ -19,7 +19,7 @@ jobs:
latexmk_shell_escape: true latexmk_shell_escape: true
- if: ${{ matrix.engine == 'lualatex' }} - if: ${{ matrix.engine == 'lualatex' }}
name: Compile LaTeX document name: Compile LaTeX document
uses: xu-cheng/latex-action@master uses: xu-cheng/latex-action@v2
with: with:
root_file: | root_file: |
thesis.tex thesis.tex