Skip to content

Fixup; bump upload version (#2) #29

Fixup; bump upload version (#2)

Fixup; bump upload version (#2) #29

Workflow file for this run

name: LaTeX Build and Lint
on:
push:
pull_request:
schedule:
# Schedule to run at 00:00 UTC on the 1st of every month
- cron: '0 0 1 * *'
jobs:
build-and-lint:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v3
- name: Install LaTeX
run: |
sudo apt-get update
sudo apt-get install -y texlive-latex-base texlive-fonts-recommended texlive-latex-extra texlive-fonts-extra texlive-science texlive-extra-utils
- name: Verify latexindent installation
run: |
latexindent --version
- name: Check LaTeX formatting
working-directory: hw/latex
run: make check
- name: Compile LaTeX documents
working-directory: hw/latex
run: make all
- name: Upload PDFs
uses: actions/upload-artifact@v4
with:
name: Compiled-PDFs
path: hw/latex/*.pdf