Merge branch 'main' of https://github.com/AndrewKahr/unity-builder
						commit
						131c7b58cf
					
				|  | @ -84,6 +84,7 @@ jobs: | ||||||
|           - 2020.3.24f1 |           - 2020.3.24f1 | ||||||
|         targetPlatform: |         targetPlatform: | ||||||
|           - StandaloneWindows64 # Build a Windows 64-bit standalone. |           - StandaloneWindows64 # Build a Windows 64-bit standalone. | ||||||
|  |           - StandaloneWindows # Build a Windows 32-bit standalone. | ||||||
|           - WSAPlayer # Build a UWP App |           - WSAPlayer # Build a UWP App | ||||||
|           - tvOS # Build an Apple TV XCode project |           - tvOS # Build an Apple TV XCode project | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -31,8 +31,7 @@ class Action { | ||||||
| 
 | 
 | ||||||
|   static get dockerfile() { |   static get dockerfile() { | ||||||
|     const currentPlatform = process.platform; |     const currentPlatform = process.platform; | ||||||
|     switch(currentPlatform) |     switch (currentPlatform) { | ||||||
|     { |  | ||||||
|       case "linux": |       case "linux": | ||||||
|         return `${Action.actionFolder}/platforms/ubuntu/Dockerfile`; |         return `${Action.actionFolder}/platforms/ubuntu/Dockerfile`; | ||||||
|       case "win32": |       case "win32": | ||||||
|  |  | ||||||
|  | @ -68,17 +68,6 @@ class ImageTag { | ||||||
|       case Platform.types.StandaloneOSX: |       case Platform.types.StandaloneOSX: | ||||||
|         return mac; |         return mac; | ||||||
|       case Platform.types.StandaloneWindows: |       case Platform.types.StandaloneWindows: | ||||||
|         // Can only build windows-il2cpp on a windows based system
 |  | ||||||
|         if (process.platform === 'win32') { |  | ||||||
|           // Unity versions before 2019.3 do not support il2cpp
 |  | ||||||
|           if (major >= 2020 || (major === 2019 && minor >= 3)) { |  | ||||||
|             return windowsIl2cpp; |  | ||||||
|           } else { |  | ||||||
|             throw new Error(`Windows-based builds are only supported on 2019.3.X+ versions of Unity.
 |  | ||||||
|                              If you are trying to build for windows-mono, please use a Linux based OS.`);
 |  | ||||||
|           } |  | ||||||
|         } |  | ||||||
|         return windows; |  | ||||||
|       case Platform.types.StandaloneWindows64: |       case Platform.types.StandaloneWindows64: | ||||||
|         // Can only build windows-il2cpp on a windows based system
 |         // Can only build windows-il2cpp on a windows based system
 | ||||||
|         if (process.platform === 'win32') { |         if (process.platform === 'win32') { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue