Skip to content

Add pull request test to actions workflows (nomencl) #5

Add pull request test to actions workflows (nomencl)

Add pull request test to actions workflows (nomencl) #5

Workflow file for this run

name: Test build
on:
pull_request:
branches:
- master
- nomencl
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4
- name: Compile LaTeX document
if: github.base_ref == 'master'
uses: xu-cheng/latex-action@v3
with:
root_file: edengths.tex
args: "-pdfps -file-line-error -halt-on-error -interaction=nonstopmode"
- name: Compile LaTeX document
if: github.base_ref == 'nomencl'
uses: xu-cheng/latex-action@v3
with:
root_file: edengths.tex
args: "-pdfps -file-line-error -halt-on-error -interaction=nonstopmode"
pre_compile: |
pdflatex edengths
chmod 777 makenomencl.sh
./makenomencl.sh