mirror of
https://github.com/velocitatem/PHANTOM.git
synced 2026-05-31 08:33:36 +00:00
29 lines
685 B
YAML
29 lines
685 B
YAML
name: Build PDF
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
paths:
|
|
- 'paper/**'
|
|
- '.github/**'
|
|
pull_request:
|
|
paths:
|
|
- 'paper/**'
|
|
- '.github/**'
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Compile LaTeX document
|
|
uses: xu-cheng/latex-action@v3
|
|
with:
|
|
root_file: main.tex
|
|
working_directory: paper/src
|
|
args: -pdf -interaction=nonstopmode -file-line-error -outdir=../build
|
|
pre_compile: bash ../concat_code.sh
|
|
- name: Upload PDF
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: thesis-pdf
|
|
path: paper/build/main.pdf
|