-
Notifications
You must be signed in to change notification settings - Fork 7
35 lines (29 loc) · 818 Bytes
/
build.yaml
File metadata and controls
35 lines (29 loc) · 818 Bytes
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
35
name: Preveri PDFje
on:
pull_request:
branches: [ "master" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container:
image: lunarstarlight/fmfdelo-texlive:latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Preveri PDFje
run : |
cd predloge
for dirname in $(ls); do
if [ -d "$dirname" ]; then
cd $dirname
echo "Compiling $dirname"
basename="Priimek-Vpisna-Leto"
texname=$basename.tex
pdfname=$basename.pdf
latexmk -pdf $texname
verapdf -f 2b $pdfname
cd ..
fi
done