-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathaction.yml
86 lines (86 loc) · 2.92 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
name: mxcl/Xcodebuild
author: Max Howell
description: >
A continuously resilient `xcodebuild` action.
“The best `xcodebuild` action by far.” ―mxcl
inputs:
xcode:
description: |
A semantic version range, eg. ^10, ~10.3 or 10.3.1
Leave unset for the image‑default.
required: false
swift:
description: A semantic version range, eg. ^5, ~5.4 or 5.4.1
required: false
platform:
description: |
Either `iOS`, `tvOS`, `macOS`, `watchOS` or (more rarely)
`mac-catalyst`
Leave unset and `xcodebuild` decides itself.
required: false
action:
description: |
* The most common actions are `test`, `build`.
* See the `xcodebuild` manual for available actions.
* Specifying `none` skips the explicit `xcodebuild` step allowing you
to use this (GitHub) Action solely for selecting an Xcode version.
* Specifying `''`, `null` or `~` will cause xcodebuild to behave as it
does without an action specified (usually `build`)
required: false
default: test
code-coverage:
description: Enables code coverage
required: false
default: 'false'
code-sign-certificate:
description: |
A Base64-encoded certificate to be installed to the macOS Keychain for
code signing. It is removed from the keychain in the post action. This
certificate should correspond to the `CODE_SIGN_IDENTITY` specified in
your project or to the `code-sign-identity` input. Pass this in as a
GitHub Encrypted Secret. Requires macOS and
`code-sign-certificate-passphrase`.
required: false
code-sign-certificate-passphrase:
description: |
The passphrase used to protect the code signing certificate. Pass this in
as a GitHub Encrypted Secret.
required: false
code-sign-identity:
description: |
Identity to be used for code signing. If your project specifies a
`CODE_SIGN_IDENTITY`, this will override it.
required: false
working-directory:
description: '…'
required: false
configuration:
description: |
Typically `Release` or `Debug`.
Leave unset and `xcodebuild` decides itself.
required: false
scheme:
description: |
A scheme defined by an Xcode project or workspace.
If not specified, xcodebuild builds only the first target.
required: false
warnings-as-errors:
description: Fails the build if any warnings in *non test targets*.
required: false
default: 'false'
verbosity:
description: One of `xcpretty`, `quiet` or `verbose`.
default: xcpretty
required: false
upload-logs:
description: |
One of `always` or `on-failure`.
Consider `always` if you want access to your coverage-reports.
Beware that artifacts count against your GitHub Actions storage limits.
default: on-failure
required: false
runs:
using: 'node12'
main: 'dist/index.js'
post: 'dist/index.js'
post-if: runner.os == 'macOS'