forked from thesis/asciidoctor-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
32 lines (32 loc) · 820 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
name: Asciidoctor Compile (with Mermaid)
description: >
> This action compiles specified asciidoctor files that may contain embedded
> Mermaid diagrams.
author: Antonio Salazar Cardozo
branding:
icon: file-text
color: white
inputs:
files:
description: Files to compile, can include * and ** globs.
required: true
format:
description: The format to compile to, `pdf` or blank.
required: false
default: ''
asciidoctor-args:
description: Additional arguments to pass the asciidoctor command.
required: false
default: ''
outputs:
asciidoctor-artifacts:
description: The list of space-separated compilation outputs
runs:
using: docker
image: Dockerfile
args:
- -f
- ${{ inputs.format }}
- -a
- ${{ inputs.asciidoctor-args }}
- ${{ inputs.files }}