mirror of
				https://github.com/Swatinem/rust-cache.git
				synced 2025-10-31 19:23:49 +00:00 
			
		
		
		
	improve log output
This commit is contained in:
		
							parent
							
								
									b740ae5d3a
								
							
						
					
					
						commit
						5f6034beb8
					
				
							
								
								
									
										2
									
								
								dist/restore/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/restore/index.js
									
									
									
									
										vendored
									
									
								
							| @ -54705,7 +54705,7 @@ async function run() { | ||||
|         core.exportVariable("CARGO_INCREMENTAL", 0); | ||||
|         const start = Date.now(); | ||||
|         const { paths, key, restoreKeys } = await getCacheConfig(); | ||||
|         core.info(`Restoring paths:\n    ${paths.join("\n    ")}.`); | ||||
|         core.info(`Restoring paths:\n    ${paths.join("\n    ")}`); | ||||
|         core.info(`Using keys:\n    ${[key, ...restoreKeys].join("\n    ")}`); | ||||
|         try { | ||||
|             const restoreKey = await cache.restoreCache(paths, key, restoreKeys); | ||||
|  | ||||
							
								
								
									
										2
									
								
								dist/save/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/save/index.js
									
									
									
									
										vendored
									
									
								
							| @ -54730,7 +54730,7 @@ async function run() { | ||||
|         await cleanRegistry(registryName, packages); | ||||
|         await cleanGit(packages); | ||||
|         await cleanTarget(packages); | ||||
|         core.info(`Saving paths:\n    ${savePaths.join("\n    ")}.`); | ||||
|         core.info(`Saving paths:\n    ${savePaths.join("\n    ")}`); | ||||
|         core.info(`Using key "${key}".`); | ||||
|         try { | ||||
|             await cache.saveCache(savePaths, key); | ||||
|  | ||||
| @ -13,7 +13,7 @@ async function run() { | ||||
|     const start = Date.now(); | ||||
|     const { paths, key, restoreKeys } = await getCacheConfig(); | ||||
| 
 | ||||
|     core.info(`Restoring paths:\n    ${paths.join("\n    ")}.`); | ||||
|     core.info(`Restoring paths:\n    ${paths.join("\n    ")}`); | ||||
|     core.info(`Using keys:\n    ${[key, ...restoreKeys].join("\n    ")}`); | ||||
|     try { | ||||
|       const restoreKey = await cache.restoreCache(paths, key, restoreKeys); | ||||
|  | ||||
| @ -33,7 +33,7 @@ async function run() { | ||||
| 
 | ||||
|     await cleanTarget(packages); | ||||
| 
 | ||||
|     core.info(`Saving paths:\n    ${savePaths.join("\n    ")}.`); | ||||
|     core.info(`Saving paths:\n    ${savePaths.join("\n    ")}`); | ||||
|     core.info(`Using key "${key}".`); | ||||
|     try { | ||||
|       await cache.saveCache(savePaths, key); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user