-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathaction.yml
More file actions
65 lines (65 loc) · 2.16 KB
/
action.yml
File metadata and controls
65 lines (65 loc) · 2.16 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Retype Build Action
author: Object.NET, Inc.
description: |-
Builds documentation using Retype. The output from this step can be
published to the hosting of choice.
inputs:
output:
description: |-
Custom folder to store the output from the Retype build process. Default is `""` (empty).
required: false
default: ''
key:
description: |-
Retype Key to unlock Pro features. Your Retype Key is private.
Please store your key as a GitHub secret.
required: false
default: ''
password:
description: |-
Private password used to generate private and protected pages.
required: false
default: ''
strict:
description: |-
Allows the build to return a non-zero exit code if it encounters any
errors or warnings. This can be particularly helpful for developers when
they need to validate the stability of their builds. Default is false.
required: false
default: 'false'
override:
description: |-
JSON configuration overriding project config values. Default is "" (empty).
required: false
default: ''
verbose:
description: |-
Enable verbose logging during build process. Default is false.
required: false
default: 'false'
config_path:
description: |-
Path to the retype.yml file. May point to a directory, a JSON or YAML
file. If a directory, Retype will look for the 'retype.[yml|yaml|json]'
file in this directory.
default: ''
outputs:
retype-output-path:
description: |-
Path to the Retype output that can be referenced in other steps
within the same workflow.
value: ${{ steps.retype-build.outputs.retype-output-path }}
runs:
using: "composite"
steps:
- id: retype-build
run: "${GITHUB_ACTION_PATH}/build.sh"
shell: bash
env:
INPUT_OUTPUT: ${{ inputs.output }}
INPUT_KEY: ${{ inputs.key || inputs.secret || inputs.license }}
INPUT_PASSWORD: ${{ inputs.password }}
INPUT_STRICT: ${{ inputs.strict }}
INPUT_OVERRIDE: ${{ inputs.override }}
INPUT_VERBOSE: ${{ inputs.verbose }}
INPUT_CONFIG_PATH: ${{ inputs.config_path || inputs.config }}