Skip to content

Commit

Permalink
CI latex-action
Browse files Browse the repository at this point in the history
  • Loading branch information
ludwiglierhammer committed Nov 26, 2024
1 parent ccf43fa commit 1fbe947
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/latex.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build LaTeX document
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"

permissions:
contents: read
pull-requests: read

jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v3
with:
root_file: mug_document_src/main.tex
latexmk_use_lualatex: true
- name: Upload PDF file
uses: actions/upload-artifact@v4
with:
name: PDF
path: mug_document_src/main.pdf

0 comments on commit 1fbe947

Please sign in to comment.