CV/.forgejo/workflows/generate.yaml

22 lines
557 B
YAML
Raw Permalink Normal View History

2023-10-29 12:35:57 +00:00
on: [push]
jobs:
build:
runs-on: docker
steps:
- name: Set up Git repository
uses: actions/checkout@v3
2023-12-11 21:20:28 +00:00
- name: Update packages
run: apt update
2023-12-11 21:19:26 +00:00
- name: Install tex
2023-12-11 21:20:28 +00:00
run: apt update && export DEBIAN_FRONTEND=noninteractive && apt install texlive texlive-xetex texlive-fonts-extra texlive-luatex -y
2023-12-11 21:19:26 +00:00
- name: Compile document
run: lualatex --output-format=pdf cv
2023-10-29 12:35:57 +00:00
- name: Upload PDF file
uses: actions/upload-artifact@v3
with:
2023-12-12 00:10:05 +00:00
name: cv.pdf
path: cv.pdf