Skip to content

Commit eb2102b

Browse files
Init push
0 parents  commit eb2102b

25 files changed

+1395
-0
lines changed

.github/workflows/build.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build LaTeX document
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Set up Git repository
12+
uses: actions/checkout@v1
13+
- name: Compile LaTeX document
14+
uses: dante-ev/latex-action@master
15+
with:
16+
root_file: main.tex
17+
compiler: xelatex
18+
args: -xelatex -latexoption=-file-line-error -latexoption=-interaction=nonstopmode
19+
- name: Check pdf files
20+
run: |
21+
file main.pdf | grep -q ' PDF '
22+
- name: Upload
23+
uses: actions/upload-artifact@master
24+
with:
25+
name: main.pdf
26+
path: main.pdf

0 commit comments

Comments
 (0)