Update CI action versions #63
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 | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Prepare repository | |
uses: actions/checkout@v4 | |
- name: Build document | |
uses: xu-cheng/latex-action@v3 | |
with: | |
root_file: main.tex | |
post_compile: "if [[ $(grep -ic overfull *.log) != 0 ]]; then echo 'Margin overrun detected; failing...' && exit 1; fi" | |
- name: Store PDF | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Output PDF | |
path: ./*.pdf |