-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathaction.yml
44 lines (44 loc) · 1.56 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
36
37
38
39
40
41
42
43
44
name: Retype Build Action
author: Object.NET, Inc.
description: |-
Builds documentation using Retype. The built output from this step can be
published to the hosting of choice.
inputs:
base:
description: Value to override Retype's "base" config
required: false
license:
description: |-
License key to use with Retype. The Retype license key is private.
Please store your license key as a GitHub secret.
required: false
config:
description: |-
Path to the retype.yml file. May point to a directory, a JSON or YAML
file. When a directory, Retype will look for 'retype.[yml|yaml|json]' in
that directory and use it. If it is a file, Retype will use it
regardless.
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
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_OVERRIDE_TITLE: ${{ inputs.title }}
INPUT_OVERRIDE_BASE: ${{ inputs.base }}
INPUT_LICENSE_KEY: ${{ inputs.license }}
INPUT_STRICT: ${{ inputs.strict }}
INPUT_CONFIG_PATH: ${{ inputs.config }}