Update rebuttal year to 2025 #22
This file contains hidden or 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 | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Compile LaTeX document | |
| uses: xu-cheng/latex-action@v3 | |
| with: | |
| root_file: main.tex | |
| - name: Check for LaTeX errors and warnings | |
| run: | | |
| if grep -q "^!" main.log; then | |
| echo "LaTeX errors found:" | |
| grep "^!" main.log | |
| exit 1 | |
| elif grep -q "Warning:" main.log; then | |
| echo "LaTeX warnings found:" | |
| grep "Warning:" main.log | |
| echo "Build completed with warnings." | |
| else | |
| echo "LaTeX build completed successfully without errors or warnings." | |
| fi | |
| - name: Upload PDF | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: main.pdf | |
| path: main.pdf |