30 lines
639 B
YAML
30 lines
639 B
YAML
name: Build CV
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
build-pdf:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install TeX Live
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-bibtex-extra biber
|
|
|
|
- name: Build PDF
|
|
run: make pdf
|
|
|
|
- name: Upload PDF artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: curriculum-vitae
|
|
path: main.pdf
|
|
retention-days: 30 |