Skip to content

git lfs in workflows #118

git lfs in workflows

git lfs in workflows #118

Workflow file for this run

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