mirror of
https://github.com/soconnor0919/resume-cv.git
synced 2025-12-11 21:44:43 -05:00
Remove obsolete cv.fdb_latexmk file and update GitHub Actions workflow to use latex-action for compiling LaTeX documents. Simplified the setup by specifying root files directly and removed redundant compilation steps.
This commit is contained in:
32
.github/workflows/compile-latex.yml
vendored
32
.github/workflows/compile-latex.yml
vendored
@@ -13,11 +13,12 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up TeX Live
|
||||
uses: xu-cheng/texlive-action/full@v1
|
||||
uses: xu-cheng/latex-action@v3
|
||||
with:
|
||||
run: |
|
||||
apk add make
|
||||
|
||||
root_file: |
|
||||
resume.tex
|
||||
cv.tex
|
||||
|
||||
- name: Create public info file
|
||||
run: |
|
||||
cat > personal_info.tex << EOL
|
||||
@@ -31,14 +32,6 @@ jobs:
|
||||
\newcommand{\personalSchoolAddress}{Available upon request}
|
||||
EOL
|
||||
|
||||
- name: Compile Public Documents
|
||||
run: |
|
||||
pdflatex -interaction=nonstopmode resume.tex
|
||||
pdflatex -interaction=nonstopmode cv.tex
|
||||
bibtex cv
|
||||
pdflatex -interaction=nonstopmode cv.tex
|
||||
pdflatex -interaction=nonstopmode cv.tex
|
||||
|
||||
- name: Upload Public PDFs
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
@@ -54,10 +47,11 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up TeX Live
|
||||
uses: xu-cheng/texlive-action/full@v1
|
||||
uses: xu-cheng/latex-action@v3
|
||||
with:
|
||||
run: |
|
||||
apk add make
|
||||
root_file: |
|
||||
resume.tex
|
||||
cv.tex
|
||||
|
||||
- name: Create private info file
|
||||
env:
|
||||
@@ -78,14 +72,6 @@ jobs:
|
||||
\newcommand{\personalSchoolAddress}{$PERSONAL_SCHOOL_ADDRESS}
|
||||
EOL
|
||||
|
||||
- name: Compile Private Documents
|
||||
run: |
|
||||
pdflatex -interaction=nonstopmode resume.tex
|
||||
pdflatex -interaction=nonstopmode cv.tex
|
||||
bibtex cv
|
||||
pdflatex -interaction=nonstopmode cv.tex
|
||||
pdflatex -interaction=nonstopmode cv.tex
|
||||
|
||||
- name: Upload Private PDFs
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user