git lfs Dockerfile #119
Workflow file for this run
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 document | |
on: [pull_request, push] | |
jobs: | |
build_latex: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Git repository | |
uses: actions/checkout@v4 | |
with: | |
lfs: true # Enable Git LFS during checkout | |
- name: Install Git LFS | |
run: | | |
git lfs install | |
- name: Check LFS-tracked files | |
run: | | |
ls -l images # Verify if LFS-tracked files are downloaded | |
- name: Compile LaTeX document | |
uses: xu-cheng/latex-action@v3 | |
with: | |
root_file: report.tex | |
- name: Upload PDF | |
uses: actions/upload-artifact@v4 | |
with: | |
name: report | |
path: report.pdf |