-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
26 lines (26 loc) · 840 Bytes
/
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
name: 'Compile LaTeX via latexmk'
description: 'Calls latexmk to compile a LaTeX document'
author: antaljanosbenjamin
branding:
icon: file-text
color: orange
inputs:
file:
description: 'The LaTeX file to be compiled, relative to the root of the repository.'
required: true
output-directory:
description: 'The directory for output files, relative to the root of the repository.'
required: false
default: .
args:
description: 'Additional arguments to pass over to latexmk.'
required: false
runs:
using: docker
image: docker://antaljanosbenjamin/latex-extra:latest
entrypoint: latexmk
args:
- -cd # change to directory of source file when processing it
- -output-directory=/github/workspace/${{ inputs.output-directory }}
- /github/workspace/${{ inputs.file }}
- ${{ inputs.args }}