Skip to content

Commit 796aef8

Browse files
Update workflow to run on PR's and upload build (#148) (#388)
* Update workflow * Update workflow * Update name
1 parent db8abf4 commit 796aef8

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Build LaTeX document
2-
on: [push]
2+
on:
3+
push:
4+
pull_request:
5+
36
jobs:
47
build_latex:
58
runs-on: ubuntu-latest
@@ -9,4 +12,9 @@ jobs:
912
- name: Compile LaTeX document
1013
uses: xu-cheng/latex-action@v2
1114
with:
12-
root_file: open-logic-debug.tex
15+
root_file: open-logic-debug.tex
16+
- name: Upload open-logic-debug.pdf
17+
uses: actions/upload-artifact@master
18+
with:
19+
name: open-logic-debug.pdf
20+
path: open-logic-debug.pdf

0 commit comments

Comments
 (0)