CV/.forgejo/workflows/generate.yaml

24 lines
561 B
YAML
Raw 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:
name: CV
2023-12-11 21:19:26 +00:00
path: cv.pdf
2023-10-29 12:42:39 +00:00
# test