Files
metric-notes/.gitea/workflows/compile.yml
Yu Cong 88d12dbbb3
All checks were successful
Build LaTeX on Host / build (push) Successful in 8s
z
2025-07-21 14:02:04 +08:00

26 lines
602 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 -pdf distribution.tex
- name: List files in the workspace
run: ls -l
- name: Upload PDF artifact
uses: actions/upload-artifact@v3
with:
name: distribution.pdf
path: distribution.pdf