This repository has been archived by the owner on Jul 12, 2021. It is now read-only.
forked from xu-cheng/latex-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
47 lines (47 loc) · 1.53 KB
/
action.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
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Github Action for LaTeX
description: GitHub Action to compile LaTeX documents
author: Cheng XU
inputs:
root_file:
description: The root LaTeX file to be compiled
required: true
working_directory:
description: The working directory for the LaTeX engine
compiler:
description: The LaTeX engine to be invoked
default: latexmk
args:
description: Extra arguments to be passed to the LaTeX engine
default: "-pdf -file-line-error -halt-on-error -interaction=nonstopmode"
extra_packages:
description: "[Deprecated] Install extra packages by tlmgr"
extra_system_packages:
description: Install extra packages by apk
pre_compile:
description: Arbitrary bash codes to be executed before compiling LaTeX documents
post_compile:
description: Arbitrary bash codes to be executed after compiling LaTeX documents
latexmk_shell_escape:
description: Instruct latexmk to enable --shell-escape
latexmk_use_lualatex:
description: Instruct latexmk to use LuaLaTeX
latexmk_use_xelatex:
description: Instruct latexmk to use XeLaTeX
runs:
using: docker
image: Dockerfile
args:
- ${{ inputs.root_file }}
- ${{ inputs.working_directory }}
- ${{ inputs.compiler }}
- ${{ inputs.args }}
- ${{ inputs.extra_packages }}
- ${{ inputs.extra_system_packages }}
- ${{ inputs.pre_compile }}
- ${{ inputs.post_compile }}
- ${{ inputs.latexmk_shell_escape }}
- ${{ inputs.latexmk_use_lualatex }}
- ${{ inputs.latexmk_use_xelatex }}
branding:
icon: book
color: blue