Awesome-CV/.github/workflows/main.yml
2026-03-11 14:11:21 +01:00

40 lines
1.1 KiB
YAML

name: Build LaTeX CV
on:
push:
branches: [ "master", "github-actions" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container: texlive/texlive:latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install fonts
run: |
apt update
apt install --yes \
fonts-roboto \
fonts-adobe-sourcesans3 \
;
- name: LaTeX compilation
# You may pin to the exact commit or the version.
# uses: dante-ev/latex-action@49cf7cb5f79e7b2006dbdffea85e02bec0b6244b
uses: dante-ev/latex-action@2021-A
with:
# The root LaTeX file to be compiled
root_file: ./cv.tex
# The working directory for the latex compiler to be invoked
working_directory: # optional
# LaTeX engine to be used
compiler: lualatex
# Extra arguments to be passed to the latex compiler
args: # optional, default is -pdf -latexoption=-file-line-error -latexoption=-interaction=nonstopmode
# Install extra packages by apt-get
extra_system_packages: # optional