b2edd5fa91 
								
							
								 
							
						 
						
							
							
								
								Fix comment style and rename validateWindowsPrereqs to validateWindowsPlatformRequirements  
							
							
							
						 
						
							2022-01-21 16:16:43 -08:00  
				
					
						
							
							
								 
						
							
							
								5c29e25c04 
								
									
								
							
								 
							
						 
						
							
							
								
								Update src/model/docker.ts  
							
							... 
							
							
							
							Co-authored-by: Webber Takken <webber.nl@gmail.com> 
							
						 
						
							2022-01-21 13:22:41 -08:00  
				
					
						
							
							
								 
						
							
							
								ee8b3266cd 
								
									
								
							
								 
							
						 
						
							
							
								
								Update src/model/docker.ts  
							
							... 
							
							
							
							Co-authored-by: Webber Takken <webber.nl@gmail.com> 
							
						 
						
							2022-01-21 13:22:22 -08:00  
				
					
						
							
							
								 
						
							
							
								df48d46e18 
								
									
								
							
								 
							
						 
						
							
							
								
								Update src/model/docker.ts  
							
							... 
							
							
							
							Co-authored-by: Webber Takken <webber.nl@gmail.com> 
							
						 
						
							2022-01-21 13:21:51 -08:00  
				
					
						
							
							
								 
						
							
							
								52bb48dd5c 
								
							
								 
							
						 
						
							
							
								
								Add additional build targets (uwp and tvOS)  
							
							... 
							
							
							
							Adjustments to build scripts to not require win10 sdk when not needed (tvOS)
Platform-based prereq setup
Setup image tags for the new platforms with errors if building on the wrong base os
Rename test-project-il2cpp to test-project-windows to be used for all windows based project building (IL2CPP backend selected instead of mono)
Fix tests to be platform based 
							
						 
						
							2021-12-26 14:05:08 -08:00  
				
					
						
							
							
								 
						
							
							
								373d987823 
								
							
								 
							
						 
						
							
							
								
								Implemented logic for windows based docker builds. Moved dockerfiles and scripts to platform specific folders.  
							
							
							
						 
						
							2021-12-18 21:16:35 -08:00  
				
					
						
							
							
								 
						
							
							
								239273ca72 
								
									
								
							
								 
							
						 
						
							
							
								
								Add androidTargetSdkVersion as an option to update the Android SDK ( #298 )  
							
							... 
							
							
							
							* Add androidTargetSdkVersion as an option to update the Android SDK API level
* Fix build script
* Update default value
* Add JAVA_HOME
* Use Unity_path
* Update src/model/android-versioning.test.ts
Co-authored-by: Webber Takken <webber@takken.io>
* Correct JAVA_HOME
* Use unity_path
* Update JAVA_HOME to use path found from 2020.3
* Dynamically determine JAVA_HOME
* Update path determination
Co-authored-by: Webber Takken <webber@takken.io> 
							
						 
						
							2021-11-24 06:51:52 -06:00  
				
					
						
							
							
								 
						
							
							
								11a0d0947e 
								
									
								
							
								 
							
						 
						
							
							
								
								Improve androidVersionCode parsing and application ( #297 )  
							
							
							
						 
						
							2021-11-15 11:12:37 -06:00  
				
					
						
							
							
								 
						
							
							
								13fdcad790 
								
									
								
							
								 
							
						 
						
							
							
								
								Add gitPrivateToken ( #296 )  
							
							... 
							
							
							
							* adding option to pass git credential
* trigger change
* trigger change
* build dist/index
* prettier
* adding set git credentials with more config
* correct docker.ts input
* change default of git credential
* try using git command line to set token
* remove git config cat
* adding api: to git config
* change to token
* change input name to reflect the type github private token
Co-authored-by: Alexander Brandstedt <alexander@infralium.com>
Co-authored-by: Alexander Brandstedt <mad01@users.noreply.github.com> 
							
						 
						
							2021-11-14 16:52:35 -06:00  
				
					
						
							
							
								 
						
							
							
								c317d144c3 
								
									
								
							
								 
							
						 
						
							
							
								
								fix strategy 'Tag' versioning ( #287 )  
							
							... 
							
							
							
							* fix - remove \n in getTag method
* build ts
* recommit 
							
						 
						
							2021-09-06 18:31:24 +02:00  
				
					
						
							
							
								 
						
							
							
								b66dffbf92 
								
									
								
							
								 
							
						 
						
							
							
								
								Projectpath error message ( #274 )  
							
							... 
							
							
							
							* Improve error message
* Improve error message 
							
						 
						
							2021-07-01 06:38:44 -05:00  
				
					
						
							
							
								 
						
							
							
								497f2f7b5f 
								
									
								
							
								 
							
						 
						
							
							
								
								Using SSH_AUTH_SOCK (ssh agent forwarding) to pull upm private repos ( #256 )  
							
							... 
							
							
							
							* using SSH_AUTH_SOCK (ssh agent forwarding) to pull upm private repos
* sshAgent as input parameter
* yarn run prettier --write "src/**/*.{js,ts}"
* yarn run lint --fix && yarn build
* fixed compilation after rebase
* removed RUN apt-get update && apt-get install -y openssh-client. This change needs to be done upstream. See game-ci/docker#117  
							
						 
						
							2021-05-28 23:51:10 +02:00  
				
					
						
							
							
								 
						
							
							
								c96b8cf443 
								
									
								
							
								 
							
						 
						
							
							
								
								Remote builder refactoring ( #264 )  
							
							... 
							
							
							
							Remote builder refactoring 
							
						 
						
							2021-05-23 05:08:40 +01:00  
				
					
						
							
							
								 
						
							
							
								a5de621fe2 
								
									
								
							
								 
							
						 
						
							
							
								
								Ensure proper read permissions and cleanup build.sh ( #259 )  
							
							... 
							
							
							
							* Add linux read permissions and cleanup build.sh
* More verbose dirty branch
* Simplify added verbosity 
							
						 
						
							2021-05-10 01:08:53 +02:00  
				
					
						
							
							
								 
						
							
							
								e31af20466 
								
									
								
							
								 
							
						 
						
							
							
								
								Chown files to a custom user after building (fix file ownership) ( #250 )  
							
							... 
							
							
							
							* Chown files to a custom user after building
* Better describe `chownFilesTo` input
As suggested by @webbertakken: https://github.com/game-ci/unity-builder/pull/250#discussion_r624575666 
Co-authored-by: Webber Takken <webber@takken.io>
* Simplify chown step in `build.sh`
Co-authored-by: Webber Takken <webber@takken.io>
Co-authored-by: Webber Takken <webber@takken.io> 
							
						 
						
							2021-05-02 01:23:15 +02:00  
				
					
						
							
							
								 
						
							
							
								e13a9f51e9 
								
							
								 
							
						 
						
							
							
								
								hotfix - use input parameter instead of env var  
							
							
							
						 
						
							2021-05-01 22:25:10 +01:00  
				
					
						
							
							
								 
						
							
							
								501c67e40c 
								
									
								
							
								 
							
						 
						
							
							
								
								Implement AWS Fargate support [Large build support] ( #246 )  
							
							... 
							
							
							
							* Implement AWS Fargate support
* Update aws-tests workflow to include aws-ts-clean
* support remoteBuildCpu and remoteBuildContainer parameters for aws
* Syntax fix
* remove package-lock add yarn.lock
* yarn lock
* if: github.event.pull_request.draft == false
Co-authored-by: mdugdale <mark.dugdale@bossastudios.com> 
							
						 
						
							2021-04-20 22:46:37 +02:00  
				
					
						
							
							
								 
						
							
							
								4d0b6e6db1 
								
									
								
							
								 
							
						 
						
							
							
								
								Pass on USYM_UPLOAD_AUTH_TOKEN if defined ( #234 )  
							
							... 
							
							
							
							To automatically upload symbols to unity, we need to define the `USYM_UPLOAD_AUTH_TOKEN` variable. Currently the build container ignores this variable, even if it's defined in the github action.
```
2021-03-26T02:35:35.5938747Z time="2021-03-26T02:35:35Z" level=fatal msg="Please provide an auth token with USYM_UPLOAD_AUTH_TOKEN environment variable"
``` 
							
						 
						
							2021-03-28 17:06:22 -05:00  
				
					
						
							
							
								 
						
							
							
								4fde4e47b6 
								
									
								
							
								 
							
						 
						
							
							
								
								Refactor action to typescript ( #226 )  
							
							... 
							
							
							
							* Refactor to typescript (config part)
* Refactor to typescript (convert extensions, minor fixes)
* Refactor to typescript (move from `action` to `dist`)
* Re-enable integrity-check for dist index.js
* Fix all tests and lints
* fix parsing major versions
* Test patch level to be digits only
* debug
* debug
* uncache
* manual compile
* debug
* debug
* Debug
* Build lib - doh
* remove diff check
* Make kubernetes workflow manual
* Properly generate 3 digit for simple major tags
* Remove ts-ignore
* re-enable cache 
							
						 
						
							2021-03-14 00:44:01 +01:00  
				
					
						
							
							
								 
						
							
							
								414307a791 
								
									
								
							
								 
							
						 
						
							
							
								
								Add newline to isShallow output ( #216 )  
							
							... 
							
							
							
							* Add newline to isShallow output 
							
						 
						
							2021-02-13 01:40:19 -06:00  
				
					
						
							
							
								 
						
							
							
								faefe2f8d7 
								
									
								
							
								 
							
						 
						
							
							
								
								Only fetch if the repo is shallow (to avoid unnecessary errors) ( #215 )  
							
							... 
							
							
							
							* Only fetch if the repo is shallow (to avoid unnecessary errors)
* Update src/model/versioning.test.js 
							
						 
						
							2021-02-12 23:22:23 -06:00  
				
					
						
							
							
								 
						
							
							
								555660c904 
								
									
								
							
								 
							
						 
						
							
							
								
								Clf support upm ssh keys ( #211 )  
							
							... 
							
							
							
							* make source changes
* compile index.js 
							
						 
						
							2021-02-03 17:39:52 +01:00  
				
					
						
							
							
								 
						
							
							
								05b7ccdc04 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove debug from versioning ( #206 )  
							
							... 
							
							
							
							Would like to remove this debug option, as I don't like how it generates many unnecessary warnings, and I don't think it provides any value. 
							
						 
						
							2021-01-26 12:54:07 -06:00  
				
					
						
							
							
								 
						
							
							
								56b9864426 
								
									
								
							
								 
							
						 
						
							
							
								
								allow versions with -alpha,-rc,-rc.0 .... + don't fail build on version cannot be determined ( #196 )  
							
							... 
							
							
							
							Closes  #163  
						
							2021-01-12 14:50:52 +01:00  
				
					
						
							
							
								 
						
							
							
								32acb22fec 
								
									
								
							
								 
							
						 
						
							
							
								
								Default unityVersion to auto to use ProjectSettings/ProjectVersion.txt ( #162 ) ( #188 )  
							
							
							
						 
						
							2020-12-28 23:36:31 -06:00  
				
					
						
							
							
								 
						
							
							
								9707ad7ad5 
								
									
								
							
								 
							
						 
						
							
							
								
								Convert version major and minor to numbers ( #180 )  
							
							... 
							
							
							
							* Convert version major and minor to numbers
* fix linting error
Co-authored-by: Webber Takken <webber@takken.io> 
							
						 
						
							2020-11-18 00:51:10 +01:00  
				
					
						
							
							
								 
						
							
							
								8eeb848483 
								
									
								
							
								 
							
						 
						
							
							
								
								add il2cpp support for linux from 2019.3 ( #177 )  
							
							
							
						 
						
							2020-11-14 00:57:44 +01:00  
				
					
						
							
							
								 
						
							
							
								72ab50499d 
								
							
								 
							
						 
						
							
							
								
								linux platform added  
							
							
							
						 
						
							2020-10-24 13:09:01 +05:30  
				
					
						
							
							
								 
						
							
							
								9269fba307 
								
							
								 
							
						 
						
							
							
								
								image tags updated  
							
							
							
						 
						
							2020-10-24 12:13:29 +05:30  
				
					
						
							
							
								 
						
							
							
								dc54ae10a5 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'main' of  https://github.com/webbertakken/unity-builder  into fix/unity-alias  
							
							
							
						 
						
							2020-10-22 23:51:43 +05:30  
				
					
						
							
							
								 
						
							
							
								483b784253 
								
							
								 
							
						 
						
							
							
								
								default docker repository updated to new docker repository  
							
							
							
						 
						
							2020-10-22 18:24:42 +05:30  
				
					
						
							
							
								 
						
							
							
								e6d3daedbe 
								
									
								
							
								 
							
						 
						
							
							
								
								revert  Fix file ownership issues for self-hosted runners. ( #141 ) ( #165 )  
							
							
							
						 
						
							2020-10-22 10:20:12 +02:00  
				
					
						
							
							
								 
						
							
							
								6a53a9e853 
								
									
								
							
								 
							
						 
						
							
							
								
								Solution proposal to Issue Add `customImage` parameter  #150  ( #151 )  
							
							... 
							
							
							
							* add customImage attribute
* add one more test for input passing && check for customImage == '' 
							
						 
						
							2020-09-18 18:41:31 +02:00  
				
					
						
							
							
								 
						
							
							
								977683cd5f 
								
									
								
							
								 
							
						 
						
							
							
								
								Add buildVersion as action output ( #144 ) ( #145 )  
							
							
							
						 
						
							2020-08-27 02:24:33 +02:00  
				
					
						
							
							
								 
						
							
							
								24e9c186fd 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix file ownership issues for self-hosted runners. ( #141 )  
							
							
							
						 
						
							2020-08-22 21:28:57 +02:00  
				
					
						
							
							
								 
						
							
							
								3ee15170fd 
								
									
								
							
								 
							
						 
						
							
							
								
								Use RUNNER_TEMP environment variable instead of a hardcoded path ( #138 )  
							
							
							
						 
						
							2020-08-22 17:59:08 +02:00  
				
					
						
							
							
								 
						
							
							
								1f8d196ed0 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix boolean logic ( #129 )  
							
							
							
						 
						
							2020-08-10 16:30:06 +02:00  
				
					
						
							
							
								 
						
							
							
								21634107c1 
								
									
								
							
								 
							
						 
						
							
							
								
								K8s Feature ( #124 )  
							
							... 
							
							
							
							Adds the ability to use a kubernetes container to run builds that are too large for the local machine running the unity-builder. Logs are streamed back during the build. Build results can then be downloaded separately. 
							
						 
						
							2020-08-09 20:27:47 +01:00  
				
					
						
							
							
								 
						
							
							
								ec0cde0c85 
								
							
								 
							
						 
						
							
							
								
								avoid double logging of git diff  
							
							
							
						 
						
							2020-07-09 13:31:51 +02:00  
				
					
						
							
							
								 
						
							
							
								72ff2983a1 
								
							
								 
							
						 
						
							
							
								
								test with short max diff lines  
							
							
							
						 
						
							2020-07-09 13:31:51 +02:00  
				
					
						
							
							
								 
						
							
							
								fdf71758a9 
								
							
								 
							
						 
						
							
							
								
								use System.run for logging Git diff  
							
							
							
						 
						
							2020-07-09 13:31:51 +02:00  
				
					
						
							
							
								 
						
							
							
								91ec427695 
								
							
								 
							
						 
						
							
							
								
								make logging of git diff unconditional, remove parameter  
							
							
							
						 
						
							2020-07-09 13:31:51 +02:00  
				
					
						
							
							
								 
						
							
							
								6fb8550919 
								
							
								 
							
						 
						
							
							
								
								increase code coverage with versioning.test.js  
							
							
							
						 
						
							2020-07-09 13:31:51 +02:00  
				
					
						
							
							
								 
						
							
							
								cb913cd286 
								
							
								 
							
						 
						
							
							
								
								Initial implementation of logDiffIfDirty  
							
							
							
						 
						
							2020-07-09 13:31:51 +02:00  
				
					
						
							
							
								 
						
							
							
								6ece6447b2 
								
							
								 
							
						 
						
							
							
								
								Add Android Build Settings  
							
							
							
						 
						
							2020-07-06 11:53:40 +02:00  
				
					
						
							
							
								 
						
							
							
								bdc3a88d22 
								
							
								 
							
						 
						
							
							
								
								Add input to set version code  
							
							... 
							
							
							
							Use action input `androidVersionCode` when provided. Generate the androidVersionCode from the version otherwise. 
							
						 
						
							2020-06-25 00:33:25 +02:00  
				
					
						
							
							
								 
						
							
							
								1245bfefc8 
								
							
								 
							
						 
						
							
							
								
								Fix fork PR builds  
							
							... 
							
							
							
							Remove hardcoded reference to the `origin` remote and instead implictly use the current commit or ref 
							
						 
						
							2020-06-20 00:59:05 +02:00  
				
					
						
							
							
								 
						
							
							
								f15f40d265 
								
							
								 
							
						 
						
							
							
								
								Use head for tags  
							
							
							
						 
						
							2020-05-22 23:01:58 +02:00  
				
					
						
							
							
								 
						
							
							
								866f364f64 
								
							
								 
							
						 
						
							
							
								
								Use ref instead of tag vs branch  
							
							
							
						 
						
							2020-05-22 23:01:58 +02:00  
				
					
						
							
							
								 
						
							
							
								a245f08e75 
								
							
								 
							
						 
						
							
							
								
								rename to throwContextualError  
							
							
							
						 
						
							2020-05-22 23:01:58 +02:00