Fixup; bump upload version (#2) #29
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: 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 |