| 
									
										
										
										
											2019-11-30 19:27:08 +00:00
										 |  |  | name: 'Unity - Builder'
 | 
					
						
							|  |  |  | author: Webber Takken <webber@takken.io>
 | 
					
						
							|  |  |  | description: 'Build Unity projects for different platforms.'
 | 
					
						
							| 
									
										
										
										
											2019-12-22 19:58:30 +00:00
										 |  |  | inputs:
 | 
					
						
							|  |  |  |   unityVersion:
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							| 
									
										
										
										
											2020-12-29 05:36:31 +00:00
										 |  |  |     default: 'auto'
 | 
					
						
							|  |  |  |     description: 'Version of unity to use for building the project. Use "auto" to get from your ProjectSettings/ProjectVersion.txt'
 | 
					
						
							| 
									
										
										
										
											2020-09-18 16:41:31 +00:00
										 |  |  |   customImage:
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |     default: ''
 | 
					
						
							|  |  |  |     description: 'Specific docker image that should be used for building the project'
 | 
					
						
							| 
									
										
										
										
											2019-12-22 19:58:30 +00:00
										 |  |  |   targetPlatform:
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |     default: ''
 | 
					
						
							|  |  |  |     description: 'Platform that the build should target.'
 | 
					
						
							|  |  |  |   projectPath:
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |     default: ''
 | 
					
						
							|  |  |  |     description: 'Relative path to the project to be built.'
 | 
					
						
							|  |  |  |   buildName:
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |     default: ''
 | 
					
						
							|  |  |  |     description: 'Name of the build.'
 | 
					
						
							| 
									
										
										
										
											2021-08-15 20:45:22 +00:00
										 |  |  |   postBuildSteps:
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |     default: ''
 | 
					
						
							| 
									
										
										
										
											2019-12-22 19:58:30 +00:00
										 |  |  |   buildsPath:
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |     default: ''
 | 
					
						
							|  |  |  |     description: 'Path where the builds should be stored.'
 | 
					
						
							|  |  |  |   buildMethod:
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |     default: ''
 | 
					
						
							|  |  |  |     description: 'Path to a Namespace.Class.StaticMethod to run to perform the build.'
 | 
					
						
							| 
									
										
										
										
											2021-08-17 20:15:40 +00:00
										 |  |  |   cloudRunnerCluster:
 | 
					
						
							| 
									
										
										
										
											2021-04-20 20:46:37 +00:00
										 |  |  |     default: 'local'
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |     description: 'Either local, k8s or aws can be used to run builds on a remote cluster. Additional parameters must be configured.'
 | 
					
						
							|  |  |  |   awsStackName:
 | 
					
						
							|  |  |  |     default: 'game-ci'
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |     description: 'The Cloud Formation stack name that must be setup before using this option.'
 | 
					
						
							| 
									
										
										
										
											2020-08-09 19:27:47 +00:00
										 |  |  |   kubeConfig:
 | 
					
						
							|  |  |  |     default: ''
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |     description: 'Supply a base64 encoded kubernetes config to run builds on kubernetes and stream logs until completion.'
 | 
					
						
							|  |  |  |   kubeVolume:
 | 
					
						
							|  |  |  |     default: ''
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |     description: 'Supply a Persistent Volume Claim name to use for the Unity build.'
 | 
					
						
							| 
									
										
										
										
											2021-08-17 20:15:40 +00:00
										 |  |  |   cloudRunnerMemory:
 | 
					
						
							| 
									
										
										
										
											2021-05-28 18:22:38 +00:00
										 |  |  |     default: '750M'
 | 
					
						
							| 
									
										
										
										
											2020-08-09 19:27:47 +00:00
										 |  |  |     required: false
 | 
					
						
							| 
									
										
										
										
											2021-04-20 20:46:37 +00:00
										 |  |  |     description: 'Amount of memory to assign the remote build container'
 | 
					
						
							| 
									
										
										
										
											2021-08-17 20:15:40 +00:00
										 |  |  |   cloudRunnerCpu:
 | 
					
						
							| 
									
										
										
										
											2021-05-28 18:22:38 +00:00
										 |  |  |     default: '1.0'
 | 
					
						
							| 
									
										
										
										
											2020-08-09 19:27:47 +00:00
										 |  |  |     required: false
 | 
					
						
							| 
									
										
										
										
											2021-04-20 20:46:37 +00:00
										 |  |  |     description: 'Amount of CPU time to assign the remote build container'
 | 
					
						
							| 
									
										
										
										
											2020-08-09 19:27:47 +00:00
										 |  |  |   kubeVolumeSize:
 | 
					
						
							|  |  |  |     default: '5Gi'
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							| 
									
										
										
										
											2021-04-20 20:46:37 +00:00
										 |  |  |     description: 'Amount of disc space to assign the Kubernetes Persistent Volume'
 | 
					
						
							| 
									
										
										
										
											2020-08-09 19:27:47 +00:00
										 |  |  |   githubToken:
 | 
					
						
							|  |  |  |     default: ''
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |     description: 'GitHub token for cloning, only needed when kubeconfig is used.'
 | 
					
						
							| 
									
										
										
										
											2020-06-24 22:02:05 +00:00
										 |  |  |   versioning:
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |     default: 'Semantic'
 | 
					
						
							|  |  |  |     description: 'The versioning scheme to use when building the project'
 | 
					
						
							| 
									
										
										
										
											2020-06-25 15:48:55 +00:00
										 |  |  |   version:
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |     default: ''
 | 
					
						
							|  |  |  |     description: 'The version, when used with the "Custom" versioning scheme'
 | 
					
						
							| 
									
										
										
										
											2020-06-24 22:02:05 +00:00
										 |  |  |   androidVersionCode:
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |     default: ''
 | 
					
						
							|  |  |  |     description: 'The android versionCode'
 | 
					
						
							| 
									
										
										
										
											2020-07-06 01:41:21 +00:00
										 |  |  |   androidAppBundle:
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							| 
									
										
										
										
											2020-08-10 14:30:06 +00:00
										 |  |  |     default: 'false'
 | 
					
						
							| 
									
										
										
										
											2020-07-06 01:41:21 +00:00
										 |  |  |     description: 'Whether to build .aab instead of .apk'
 | 
					
						
							|  |  |  |   androidKeystoreName:
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |     default: ''
 | 
					
						
							|  |  |  |     description: 'The android keystoreName'
 | 
					
						
							|  |  |  |   androidKeystoreBase64:
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |     default: ''
 | 
					
						
							|  |  |  |     description: 'The base64 contents of the android keystore file'
 | 
					
						
							|  |  |  |   androidKeystorePass:
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |     default: ''
 | 
					
						
							|  |  |  |     description: 'The android keystorePass'
 | 
					
						
							|  |  |  |   androidKeyaliasName:
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |     default: ''
 | 
					
						
							|  |  |  |     description: 'The android keyaliasName'
 | 
					
						
							|  |  |  |   androidKeyaliasPass:
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |     default: ''
 | 
					
						
							|  |  |  |     description: 'The android keyaliasPass'
 | 
					
						
							| 
									
										
										
										
											2020-06-25 15:48:55 +00:00
										 |  |  |   customParameters:
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |     default: ''
 | 
					
						
							|  |  |  |     description: >
 | 
					
						
							|  |  |  |       Custom parameters to configure the build.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |       Parameters must start with a hyphen (-) and may be followed by a value (without hyphen).
 | 
					
						
							|  |  |  |       Parameters without a value will be considered booleans (with a value of true).
 | 
					
						
							| 
									
										
										
										
											2021-05-28 21:51:10 +00:00
										 |  |  |   sshAgent:
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |     default: ''
 | 
					
						
							|  |  |  |     description: 'SSH Agent path to forward to the container'
 | 
					
						
							| 
									
										
										
										
											2021-05-01 23:23:15 +00:00
										 |  |  |   chownFilesTo:
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |     default: ''
 | 
					
						
							|  |  |  |     description: 'User and optionally group (user or user:group or uid:gid) to give ownership of the resulting build artifacts'
 | 
					
						
							| 
									
										
										
										
											2020-07-08 20:44:54 +00:00
										 |  |  |   allowDirtyBuild:
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |     default: ''
 | 
					
						
							|  |  |  |     description: >
 | 
					
						
							|  |  |  |       Allows the branch of the build to be dirty, and still generate the build.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |       Note that it is generally bad practice to modify your branch
 | 
					
						
							|  |  |  |       in a CI Pipeline. However there are exceptions where this might
 | 
					
						
							|  |  |  |       be needed. (use with care).
 | 
					
						
							| 
									
										
										
										
											2020-08-09 19:27:47 +00:00
										 |  |  | outputs:
 | 
					
						
							|  |  |  |   volume:
 | 
					
						
							|  |  |  |     description: 'The Persistent Volume (PV) where the build artifacts have been stored by Kubernetes'
 | 
					
						
							| 
									
										
										
										
											2020-08-27 00:24:33 +00:00
										 |  |  |   buildVersion:
 | 
					
						
							|  |  |  |     description: 'The generated version used for the Unity build'
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:27:08 +00:00
										 |  |  | branding:
 | 
					
						
							|  |  |  |   icon: 'box'
 | 
					
						
							|  |  |  |   color: 'gray-dark'
 | 
					
						
							| 
									
										
										
										
											2019-12-16 23:52:44 +00:00
										 |  |  | runs:
 | 
					
						
							|  |  |  |   using: 'node12'
 | 
					
						
							| 
									
										
										
										
											2021-03-13 23:44:01 +00:00
										 |  |  |   main: 'dist/index.js'
 |