fixing library warning in setup step
							parent
							
								
									f213392d9f
								
							
						
					
					
						commit
						e0052e207b
					
				|  | @ -546,10 +546,10 @@ class Caching { | |||
|                 if (__1.Input.cloudRunnerTests) { | ||||
|                     cloud_runner_logger_1.default.log(`Hashed cache folder ${yield lfs_hashing_1.LFSHashing.hashAllFiles(sourceFolder)}`); | ||||
|                 } | ||||
|                 console_1.assert(fs_1.default.existsSync(`${sourceFolder}`)); | ||||
|                 yield cloud_runner_system_1.CloudRunnerSystem.Run(`zip${__1.Input.cloudRunnerTests ? '' : ' -q'} -r ${cacheKey}.zip ${path_1.default.basename(sourceFolder)}`); | ||||
|                 console_1.assert(fs_1.default.existsSync(`${cacheKey}.zip`)); | ||||
|                 console_1.assert(fs_1.default.existsSync(`${cacheFolder}`)); | ||||
|                 console_1.assert(fs_1.default.existsSync(`${sourceFolder}`)); | ||||
|                 console_1.assert(fs_1.default.existsSync(`${path_1.default.basename(sourceFolder)}`)); | ||||
|                 yield cloud_runner_system_1.CloudRunnerSystem.Run(`mv ${cacheKey}.zip ${cacheFolder}`); | ||||
|                 remote_client_logger_1.RemoteClientLogger.log(`moved ${cacheKey}.zip to ${cacheFolder}`); | ||||
|  |  | |||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							|  | @ -19,13 +19,13 @@ export class Caching { | |||
|       if (Input.cloudRunnerTests) { | ||||
|         CloudRunnerLogger.log(`Hashed cache folder ${await LFSHashing.hashAllFiles(sourceFolder)}`); | ||||
|       } | ||||
|       assert(fs.existsSync(`${sourceFolder}`)); | ||||
| 
 | ||||
|       await CloudRunnerSystem.Run( | ||||
|         `zip${Input.cloudRunnerTests ? '' : ' -q'} -r ${cacheKey}.zip ${path.basename(sourceFolder)}`, | ||||
|       ); | ||||
|       assert(fs.existsSync(`${cacheKey}.zip`)); | ||||
|       assert(fs.existsSync(`${cacheFolder}`)); | ||||
|       assert(fs.existsSync(`${sourceFolder}`)); | ||||
|       assert(fs.existsSync(`${path.basename(sourceFolder)}`)); | ||||
|       await CloudRunnerSystem.Run(`mv ${cacheKey}.zip ${cacheFolder}`); | ||||
|       RemoteClientLogger.log(`moved ${cacheKey}.zip to ${cacheFolder}`); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue