-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (26 loc) · 1.01 KB
/
latex-to-pdf.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
name: LaTeX to PDF
on:
push:
branches:
- Migration # Change this to your branch name if necessary
pull_request:
branches:
- main # Change this to your branch name if necessary
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up LaTeX
uses: xu-cheng/latex-action@v2
with:
working_directory: 2022Migration # Change this to the name of your working directory
root_file: articleMigrationFACS.tex # Change this to the name of your main LaTeX file
# - name: Build PDF
# run: pdflatex -interaction=nonstopmode -halt-on-error articleMigration.tex # Change this to the name of your main LaTeX file
- name: Publish PDF
uses: actions/upload-artifact@v2
with:
name: articleMigration # Change this to the desired name of your artifact
path: 2022Migration/articleMigrationFACS.pdf # Change this to the name of your generated PDF file