-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
66 lines (66 loc) · 2.34 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: Swift Package Documentation Generator
description: Generates documentation for a Swift package using docc.
author: ser.soft GmbH
inputs:
package-path:
description: The path to the package.
required: true
default: ${{ github.workspace }}
package-version:
description: The version to use for this package.
required: false
enable-inherited-docs:
description: Whether to enable inherited docs.
required: true
default: 'false'
enable-index-building:
description: Enables index building.
required: true
default: 'false'
checkout-path:
description: The path to check out the package to. Defaults to the workspace.
required: false
default: ${{ github.workspace }}
repository-service:
description: The service to use for the repository. Must be supported by docc. Defaults to GitHub.
required: false
default: 'github'
repository-base-url:
description: The base URL of the repository. Defaults to the current repository.
required: false
default: ${{ github.server_url }}/${{ github.repository }}
transform-for-static-hosting:
description: Enables the static hosting transformation.
required: true
default: 'false'
hosting-base-path:
description: The hosting base path to use.
required: false
other-docc-arguments:
description: Further (newline-separated) docc arguments.
required: false
targets:
description: A list of targets separated by newline. If not given, all targets are built. Ignored if `use-xcodebuild` is `true`.
required: false
use-xcodebuild:
description: Tells the action to use xcodebuild (instead of `swift package`). Use `xcodebuild-scheme` and `xcodebuild-destination` to further customize the xcodebuild invocation.
required: true
default: 'false'
xcodebuild-scheme:
description: The scheme to use for the xcodebuild invocation. Required if `use-xcodebuild` is true.
required: false
xcodebuild-destination:
description: The destination to use for the xcodebuild invocation. Required if `use-xcodebuild` is true.
required: false
other-xcodebuild-arguments:
description: Further (newline-separated) xcodebuild arguments.
required: false
output:
description: The path to the output folder.
required: false
runs:
using: node20
main: dist/index.js
branding:
color: orange
icon: book