2024-09-06 13:51:52 +00:00
|
|
|
name: Build LaTeX document
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
|
|
build_latex:
|
|
|
|
runs-on: ubuntu-latest
|
2024-09-13 07:37:04 +00:00
|
|
|
container:
|
2024-09-13 07:37:40 +00:00
|
|
|
image: ghcr.io/xu-cheng/texlive-full:latest
|
2024-09-06 13:51:52 +00:00
|
|
|
steps:
|
|
|
|
- name: Set up Git repository
|
|
|
|
uses: actions/checkout@v4
|
2024-09-13 07:37:04 +00:00
|
|
|
- name: Compile site assets
|
|
|
|
run: cd src && latexmk
|
2024-09-06 13:51:52 +00:00
|
|
|
- name: Upload PDF file
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
with:
|
|
|
|
name: PDF
|
|
|
|
path: src/main.pdf
|