Skip to content

Commit 2f0bbc6

Browse files
committed
Add GitHub Actions workflow for multilingual resume build and update project files
- Create build.yml for automated PDF generation in English, Russian, and French - Add build.sh script for manual PDF builds - Include Montserrat font files for styling - Update README.md with build instructions - Add string resources for English, French, and Russian - Update .gitignore to include generated PDF files - Create VSCode settings for LaTeX workshop
1 parent fd23a9e commit 2f0bbc6

File tree

12 files changed

+729
-350
lines changed

12 files changed

+729
-350
lines changed

.github/workflows/build.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Build multilingual resume
2+
3+
on:
4+
push:
5+
paths:
6+
- '**.tex'
7+
- '.github/workflows/build.yml'
8+
- 'fonts/**'
9+
workflow_dispatch: {}
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
resumeLang: [en, ru, fr]
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Install TeX Live + LuaLaTeX
21+
run: |
22+
sudo apt-get update
23+
sudo apt-get install -y texlive-luatex texlive-latex-recommended texlive-latex-extra texlive-xetex texlive-fonts-recommended
24+
25+
- name: Build PDF (${{ matrix.resumeLang }})
26+
run: |
27+
lualatex -interaction=nonstopmode -halt-on-error -jobname="resume-${{ matrix.resumeLang }}" "\def\lang{${{ matrix.resumeLang }}}\input{resume.tex}"
28+
# Run twice for stable refs
29+
lualatex -interaction=nonstopmode -halt-on-error -jobname="resume-${{ matrix.resumeLang }}" "\def\lang{${{ matrix.resumeLang }}}\input{resume.tex}"
30+
31+
- name: Upload PDFs
32+
uses: actions/upload-artifact@v4
33+
with:
34+
name: resumes
35+
path: |
36+
resume-*.pdf

0 commit comments

Comments
 (0)