Improve error message for unset UNITY_EMAIL and UNITY_PASSWORD
							parent
							
								
									a3cadeaf30
								
							
						
					
					
						commit
						d6cc7fd22f
					
				|  | @ -441,7 +441,8 @@ class Docker { | ||||||
|                         unitySerial = process.env.UNITY_SERIAL; |                         unitySerial = process.env.UNITY_SERIAL; | ||||||
|                     } |                     } | ||||||
|                     if (!(process.env.UNITY_EMAIL && process.env.UNITY_PASSWORD)) { |                     if (!(process.env.UNITY_EMAIL && process.env.UNITY_PASSWORD)) { | ||||||
|                         throw new Error(`Unity email and password must be set for windows based builds`); |                         throw new Error(`Unity email and password must be set for Windows based builds. Make
 | ||||||
|  |                            sure to set them inside UNITY_EMAIL and UNITY_PASSWORD in Github Secrets.`);
 | ||||||
|                     } |                     } | ||||||
|                     yield this.setupWindowsRun(platform); |                     yield this.setupWindowsRun(platform); | ||||||
|                     this.validateWindowsPlatformRequirements(platform); |                     this.validateWindowsPlatformRequirements(platform); | ||||||
|  |  | ||||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							|  | @ -117,7 +117,8 @@ class Docker { | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         if (!(process.env.UNITY_EMAIL && process.env.UNITY_PASSWORD)) { |         if (!(process.env.UNITY_EMAIL && process.env.UNITY_PASSWORD)) { | ||||||
|           throw new Error(`Unity email and password must be set for windows based builds`); |           throw new Error(`Unity email and password must be set for Windows based builds. Make
 | ||||||
|  |                            sure to set them inside UNITY_EMAIL and UNITY_PASSWORD in Github Secrets.`);
 | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         await this.setupWindowsRun(platform); |         await this.setupWindowsRun(platform); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue