Repository navigation
Expand file tree
/
Copy pathaction.yml
More file actions
222 lines (219 loc) · 7.17 KB
/
Copy pathaction.yml
File metadata and controls
222 lines (219 loc) · 7.17 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
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
name: 'Unity Build'
description: 'This action performs a Unity command line build.'
inputs:
additional-arguments:
description: >
Specify additional required arguments.
required: false
default: ''
app-id:
description: >
Specify the App ID.
ex) com.akiojin.Sample
required: false
bundle-version:
description: >
Specify the bundle version.
This value is set to PlayerSettings.bundleVersion
If omitted, the value set in PlayerSettings.bundleVersion is used as is.
build-target:
description: >
Allows the selection of an active build target before loading a project.
Possible options are:
Standalone, Win, Win64, OSXUniversal, Linux, Linux64, LinuxUniversal, iOS, Android, Web, WebStreamed, WebGL, XboxOne, PS4, WindowsStoreApps, Switch, N3DS, tvOS.
required: true
configuration:
description: >
The configuration to use when building the app.
Defaults to 'Debug'
Possible options are:
Debug, Release.
required: false
default: 'Debug'
enable-bake:
description: >
Specify true to bake at build time.
required: false
default: false
execute-method:
description: >
Execute the static method as soon as Unity opens the project,
and after the optional Asset server update is complete.
required: false
default: ''
install-directory:
description: >
If the Unity installation location is not the default, specify the path in this parameter.
or in the environment variable `UNITY_HUB_INSTALL_DIRECTORY`.
The path must exclude the version number.
ex) E:\Unity\
required: false
default: ''
log-file:
description: >
Specify where Unity writes the Editor or Windows/Linux/OSX standalone log file.
To output to the console, specify - for the path name.
On Windows, specify - option to make the output go to stdout, which is not the console by default.
required: false
default: '-'
output-directory:
description: >
Specifies the output directory.
If omitted, runner.temp is set.
required: false
default: ${{ runner.temp }}
output-name:
description: >
Specifies the output file name.
If an empty string is passed for this value, the product name or "ProductName" specified in the Unity Editor will be used.
Defaults to "Build"
required: false
default: 'Build'
project-directory:
description: >
Open the project at the given path. If the pathname contains spaces, enclose it in quotes.
required: false
default: ${{ github.workspace }}
revision:
description: >
Specify the revision.
This value is set to PlayerSettings.iOS.buildNumber or PlayerSettings.Android.bundleVersionCode.
If omitted, github.run_number is set.
required: false
default: ${{ github.run_number }}
unity-version:
description: >
Specify the Unity version to be used.
If omitted, the project version is used.
required: false
default: ''
p12-base64:
description: >
Specify the Base64 data for the p12 file.
If you do not specify a file path in `p12`, you must specify this parameter.
Also, if this value is specified, the value of `p12` is ignored.
Required for macOS/iOS builds.
export-method:
description: >
Method used to export the archive.
Valid values are: app-store, validation, ad-hoc, package, enterprise, development, developer-id and mac-application.
Required for iOS builds.
required: false
default: 'development'
include-bitcode:
description: >
Should the ipa file include bitcode?
Defaults to false.
Required for iOS builds.
required: false
default: false
include-symbols:
description: >
Should the ipa file include symbols?
Defaults to false.
Required for iOS builds.
required: false
default: false
provisioning-profile-base64:
description: ''
required: false
default: ''
provisioning-profile-uuid:
description: >
Specify the UUID of the provisioning profile.
Required for iOS builds.
required: false
default: ''
provisioning-profile-name:
description: >
Specify the Name of the provisioning profile.
If app-id is specified, this parameter must be specified.
It will be enabled for iOS builds.
required: false
default: ''
provisioning-profile-type:
description: >
Specify the type of provisioning profile.
Required for iOS builds.
If omitted, Automatic is set.
Valid values are: Automatic, Development, Distribution
required: false
default: 'Automatic'
strip-swift-symbols:
description: >
If set to true, it will truncate symbols from the Swift library in the IPA file,
reducing the size of the IPA file.
Used during iOS build.
required: false
default: true
symbols:
description: >
Specify additional definitions.
Separate each definition with a semicolon.
ex) DEBUG;TEST;DEVELOPMENT
required: false
team-id:
description: >
The ID of your Developer Portal team if you're in multiple teams.
Required for iOS build.
required: false
default: ''
keystore:
description: >
Specify the path to the keystore file.
If a custom keystore is used, it must be specified; however, if it is included in the project settings in advance, it need not be specified.
If you use a custom keystore, you must specify `keystore-password`, `keystore-alias`, and `keystore-alias-password`.
Used during Android build.
required: false
default: ''
keystore-alias:
description: >
Specifies the name of the keystore alias.
If a custom keystore is used, it must be specified.
Used during Android build.
required: false
default: ''
keystore-alias-password:
description: >
Specify the password for the keystore alias.
If a custom keystore is used, it must be specified.
Used during Android build.
required: false
default: ''
keystore-base64:
description: >
Specifies Base64 data for the keystore.
If you do not specify a file path in `keystore`, you must specify this parameter.
Also, if this value is specified, the value of `keystore` is ignored.
Used during Android build.
required: false
default: ''
keystore-password:
description: >
Specify the password for the keystore.
If a custom keystore is used, it must be specified.
Used during Android build.
required: false
default: ''
install-location:
description: >
The directory where the package is to be installed.
If omitted, '/Applications' is specified.
Required for macOS builds.
required: false
default: /Applications
temporary-directory:
description: >
Specify a temporary folder for the Xcode project files that Unity outputs during iOS build.
No change is required unless there is a specific reason.
required: false
default: ${{ runner.temp }}/temp
outputs:
output-path:
description: 'Path of the output binary'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'box'
color: 'orange'