mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-11 13:41:12 -06:00
Add latex build check to PRs (#37)
* Add release workflow * Create validate.yml * Update validate.yml
This commit is contained in:
23
.github/workflows/validate.yml
vendored
Normal file
23
.github/workflows/validate.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
name: Validate LaTeX Document
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
jobs:
|
||||||
|
build_latex:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Set up Git repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Build book
|
||||||
|
uses: xu-cheng/texlive-action/full@v1
|
||||||
|
with:
|
||||||
|
run: |
|
||||||
|
apk add make
|
||||||
|
cd book
|
||||||
|
make all
|
||||||
|
- name: Upload PDF
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: PDF
|
||||||
|
path: book/book.pdf
|
||||||
Reference in New Issue
Block a user