-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
34 lines (28 loc) · 902 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
27
28
29
30
31
32
33
34
name: Build LaTeX on any Docker image
description: |
Parallel build of multiple files is supported, and you can use customized Docker image.
# You can use not only latexmk but also pacdoc etc.
inputs:
docker-image:
description: Docker image published on Dockerhub that runs build.
required: true
build-files:
description: A Line-separated list of paths of the TeX files to build.
required: true
build-entrypoint:
description: The entrypoint of Docker container that runs build.
required: false
build-args:
description: Extra arguments to run the build.
required: false
branding:
icon: file-text
color: orange
runs:
using: docker
image: docker://Dockerfile
env:
BUILD_IMAGE: ${{ inputs.docker-image }}
BUILD_FILES: ${{ inputs.build-files }}
BUILD_ENTRYPOINT: ${{ inputs.build-entrypoint }}
BUILD_ARGS: ${{ inputs.build-args }}