26 lines
597 B
YAML
26 lines
597 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
|
|
|
|
- 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 |