Skip to content

Bump actions/checkout from 3 to 4 #8

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #8

Workflow file for this run

# .github/workflows/build.yml
# GitHub Actions configuration file for latex
# See https://github.com/xu-cheng/latex-action for details
name: build
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
run:
name: Generate pdf document
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Generate pdf documents
uses: xu-cheng/latex-action@v2
with:
root_file: "*.tex"
glob_root_file: true
args: -file-line-error -halt-on-error -interaction=nonstopmode
extra_fonts: |
./fonts/fira-mono/*.otf
./fonts/fira-sans/*.otf
pre_compile: tlmgr update --self && tlmgr update --all
- name: Store artifacts
uses: actions/upload-artifact@v3
with:
path: "*.pdf"
if-no-files-found: error