Files
metric-notes/.gitea/workflows/compile.yml
Yu Cong 5210518490
All checks were successful
Build LaTeX on Host / build (push) Successful in 26s
use label for runs-on!
2025-07-21 13:49:42 +08:00

25 lines
590 B
YAML

name: Build LaTeX on Host
on: [push]
jobs:
build:
# use label
runs-on: macos
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Compile LaTeX using local TeX Live
# These commands run directly in your machine's shell
run: |
echo "Compiling document..."
latexmk distribution.tex
latexmk Notes_SODA23.tex
latexmk SDP.tex
- name: Upload PDF artifact
uses: actions/upload-artifact@v3
with:
name: distribution.pdf
path: distribution.pdf