Skip to content

Generate the diff PDF for the reviewers #39

Generate the diff PDF for the reviewers

Generate the diff PDF for the reviewers #39

Workflow file for this run

name: Build LaTeX document
on:
push:
branches:
- master
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
build_latex:
runs-on: ubuntu-latest
env:
PAPER: "main"
steps:
- name: Set up Git repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v2
with:
root_file: |
${{ env.PAPER }}.tex
working_directory: "."
extra_system_packages: "git patch"
latexmk_shell_escape: true
- name: Upload PDF
uses: actions/upload-artifact@v4
with:
name: PDF
path: |
${{ env.PAPER }}.pdf