generated from racklet/base-repo-layout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
35 lines (35 loc) · 1.22 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
name: 'PlantUML rendering action'
description: 'Render PlantUML files to png or svg automatically'
inputs:
formats:
description: 'A comma-separated list of the formats to render. Supported formats are: `svg,png`.'
required: false
default: "svg"
sub-dirs:
description: 'A comma-separated list of what directories to search for PlantUML files'
required: false
default: '.'
skip-dirs:
description: 'A comma-separated list of what directories to skip when searching for PlantUML files'
required: false
default: '.git'
files:
description: 'A comma-separated list of specific files to convert, in the form: "dest-file:src-file"'
required: false
default: "=" # empty key-value mapping means no files
log-level:
description: 'What log level to use. Used levels are "info" and "debug".'
required: false
default: "info"
outputs:
rendered-files:
description: 'A space-separated list of files that were rendered, can be passed to e.g. "git add"'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- --sub-dirs=${{ inputs.sub-dirs }}
- --skip-dirs=${{ inputs.skip-dirs }}
- --files=${{ inputs.files }}
- --formats=${{ inputs.formats }}
- --log-level=${{ inputs.log-level }}