Build CV PDF #524
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 CV PDF | |
on: | |
push: | |
schedule: | |
- cron: '0 20 * * *' # run every day at 8:00pm | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Lint with chktex | |
uses: j2kun/chktex-action@main | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Compile document | |
uses: xu-cheng/latex-action@v3 | |
with: | |
root_file: MartinMadsenCV.tex | |
latexmk_use_xelatex: true | |
- name: Upload PDF | |
uses: actions/upload-artifact@v4 | |
with: | |
name: CV | |
path: MartinMadsenCV.pdf |