mirror of
				https://github.com/Swatinem/rust-cache.git
				synced 2025-10-31 19:53:49 +00:00 
			
		
		
		
	save incrementals
This commit is contained in:
		
							parent
							
								
									af6c167d5d
								
							
						
					
					
						commit
						a0f80e7b74
					
				| @ -77,6 +77,11 @@ async function run() { | ||||
|     // https://github.com/actions/toolkit/pull/1378
 | ||||
|     // TODO: remove this once the underlying bug is fixed.
 | ||||
|     await cacheProvider.cache.saveCache(config.cachePaths.slice(), config.cacheKey); | ||||
| 
 | ||||
|     if (config.incremental) { | ||||
|       core.info(`... Saving incremental cache ...`); | ||||
|       await cacheProvider.cache.saveCache(config.incrementalPaths.slice(), config.incrementalKey); | ||||
|     } | ||||
|   } catch (e) { | ||||
|     reportError(e); | ||||
|   } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user