Build LaTeX templates #48
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build LaTeX templates | |
on: | |
push: | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
- cron: '0 4 * * 1' # Run at 0400 every Monday. | |
jobs: | |
build_latex: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Git repository | |
uses: actions/checkout@v3 | |
- name: Compile Letter | |
uses: xu-cheng/latex-action@v3 | |
with: | |
root_file: template_letter.tex | |
latexmk_use_xelatex: true | |
- name: Upload Letter PDF | |
uses: actions/upload-artifact@v3 | |
with: | |
name: PDF | |
path: template_letter.pdf | |
- name: Compile Portrait Poster | |
uses: xu-cheng/latex-action@v3 | |
with: | |
root_file: template_poster_portrait.tex | |
latexmk_use_xelatex: true | |
- name: Upload Portrait Poster PDF | |
uses: actions/upload-artifact@v3 | |
with: | |
name: PDF | |
path: template_poster_portrait.pdf | |
- name: Compile Landscape Poster | |
uses: xu-cheng/latex-action@v3 | |
with: | |
root_file: template_poster_landscape.tex | |
latexmk_use_xelatex: true | |
- name: Upload Landscape Poster PDF | |
uses: actions/upload-artifact@v3 | |
with: | |
name: PDF | |
path: template_poster_landscape.pdf | |
- name: Compile Presentation | |
uses: xu-cheng/latex-action@v3 | |
with: | |
root_file: template_presentation.tex | |
latexmk_use_xelatex: true | |
- name: Upload Presentation PDF | |
uses: actions/upload-artifact@v3 | |
with: | |
name: PDF | |
path: template_presentation.pdf |