-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (33 loc) · 1.24 KB
/
leseansicht-erste-tausend-dateien.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Leseansicht - files 1-999
on:
workflow_dispatch
jobs:
makepdf:
name: Convert LaTeX to PDF
runs-on: ubuntu-latest
steps:
- name: Perform Checkout
uses: actions/checkout@v4
- name: Install ANT, LaTeX Things
run: |
sudo apt-get update && sudo apt-get install texlive-xetex texlive-humanities texlive-lang-german texlive-lang-french texlive-lang-english texlive-lang-greek openjdk-11-jre-headless ant -y
- name: Clone private repository with fonts and symbols
uses: GuillaumeFalourd/clone-github-repo-action@v2
with:
owner: 'arthur-schnitzler'
repository: 'schnitzler-briefe-tex-private-files'
access-token: ${{ secrets.SCHNITZLER_TEX_PRIVATE }}
- name: Convert Files
run: |
cd tex-leseansicht
for i in L001*.tex; do xelatex $i -interaction=nonstopmode;done
for i in L001*.tex; do xelatex $i -interaction=nonstopmode;done
for i in L001*.tex; do xelatex $i -interaction=nonstopmode;done
cd ..
- name: copy pdf to pdf-folder
run: |
mv ./tex-leseansicht/*.pdf ./pdf-leseansicht/
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: made pdfs
file_pattern: "*.pdf"