-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
action.yml
142 lines (142 loc) · 5.29 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
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`, `visionOS` or (more rarely)
`mac-catalyst`
Leave unset and `xcodebuild` decides itself.
required: false
platform-version:
description: |
A semantic version range, eg. ^15, ~16.1 or 17.4.1
Leave unset for the latest available on the runner.
required: false
arch:
description: |
Either `arm64` `x86_64 `i386`
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'
authentication-key-base64:
description: |
A Base64-encoded authentication key issued by App Store Connect. If
specified, `xcodebuild`` will authenticate with the Apple Developer
website using this credential. The `authentication-key-id` and
`authentication-key-issuer-id` parameters are required. Using this key,
`xcodebuild` will register the GitHub Actions runner device and manage
code signing certificates for it. Please note that this may cause
undesired behavior when using GitHub-hosted runners. For best results, use
App Store Connect API keys only on self-hosted runners.
required: false
authentication-key-id:
description: |
The key identifier associated with the App Store Conect authentication key
specified in `authentication-key-base64`. This string can be located in
the users and access details for your provider at
"https://appstoreconnect.apple.com". For best results, use App Store
Connect API keys only on self-hosted runners.
required: false
authentication-key-issuer-id:
description: |
The App Store Connect issuer identifier associated with the authentication
key specified in `authentication-key-base64`. This string can be located
in the users and access details for your provider at
"https://appstoreconnect.apple.com". For best results, use App Store
Connect API keys only on self-hosted runners.
required: 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
mobile-provisioning-profiles-base64:
description: |
A multiline list of Base64-encoded mobile provisioning profiles.
required: false
provisioning-profiles-base64:
description: |
A multiline list of Base64-encoded Mac provisioning profiles.
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
workspace:
description: |
We try to detect your workspace, but if we fail you can manually specify
it with this parameter.
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`, `xcbeautify`, `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
trust-plugins:
description: |
Skip Swift Package Manager build plugin validation.
This may be a security risk.
default: 'false'
required: false
runs:
using: 'node20'
main: 'dist/index.js'
post: 'dist/index.js'
post-if: runner.os == 'macOS'