mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 08:23:34 +00:00 
			
		
		
		
	Chore(lint) cache-restore.ts
This commit is contained in:
		
							parent
							
								
									49141160ec
								
							
						
					
					
						commit
						7edc3bb90a
					
				@ -43,7 +43,11 @@ export const restoreCache = async (
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  core.saveState(State.CachePrimaryKey, primaryKey);
 | 
					  core.saveState(State.CachePrimaryKey, primaryKey);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  const cacheKey = await cache.restoreCache([cachePath], primaryKey, restoreKeys);
 | 
					  const cacheKey = await cache.restoreCache(
 | 
				
			||||||
 | 
					    [cachePath],
 | 
				
			||||||
 | 
					    primaryKey,
 | 
				
			||||||
 | 
					    restoreKeys
 | 
				
			||||||
 | 
					  );
 | 
				
			||||||
  core.setOutput('cache-hit', Boolean(cacheKey));
 | 
					  core.setOutput('cache-hit', Boolean(cacheKey));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if (!cacheKey) {
 | 
					  if (!cacheKey) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user