Skip to content

Instantly share code, notes, and snippets.

@evianzhow
Last active July 7, 2026 03:43
Show Gist options
  • Select an option

  • Save evianzhow/7d137cc3dae9bf0da0adb5f9fc155a75 to your computer and use it in GitHub Desktop.

Select an option

Save evianzhow/7d137cc3dae9bf0da0adb5f9fc155a75 to your computer and use it in GitHub Desktop.
name: Build Resume PDF
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
name: Compile LaTeX resume
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v3
with:
root_file: main.tex
- name: Prepare artifact
shell: bash
run: |
mkdir -p output
cp main.pdf output/main.pdf
- name: Upload compiled PDF
uses: actions/upload-artifact@v4
with:
name: resume-pdf
path: output/main.pdf
if-no-files-found: error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment