2021-07-14 12:28:06 +02:00
|
|
|
name: Build LaTeX document
|
2021-07-14 13:10:28 +02:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
|
|
|
- 'Alembic.tex'
|
2021-07-14 12:28:06 +02:00
|
|
|
jobs:
|
|
|
|
build_latex:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Set up Git repository
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Compile LaTeX document
|
|
|
|
uses: xu-cheng/latex-action@v2
|
|
|
|
with:
|
|
|
|
root_file: Alembic.tex
|
2021-07-14 14:48:47 +02:00
|
|
|
- name: Update Readme
|
|
|
|
run: |
|
2021-07-14 14:58:08 +02:00
|
|
|
ls
|
2021-07-14 14:48:47 +02:00
|
|
|
cd buildtols
|
|
|
|
php buildreadme.php
|
|
|
|
cd ../
|
2021-07-14 12:38:38 +02:00
|
|
|
- name: Commit changes
|
|
|
|
uses: EndBug/add-and-commit@v7
|
|
|
|
with:
|
|
|
|
author_name: LaTexCompiler
|
2021-07-14 14:48:47 +02:00
|
|
|
message: 'Compiled LaTeX into PDF, updated README'
|
|
|
|
add: '*'
|