mirror of
				https://kkgithub.com/actions/setup-node.git
				synced 2025-11-04 12:46:16 +08:00 
			
		
		
		
	Support caching for mono repos and repositories with complex structure
This commit is contained in:
		@ -51,7 +51,8 @@ export async function run() {
 | 
			
		||||
      if (isGhes()) {
 | 
			
		||||
        throw new Error('Caching is not supported on GHES');
 | 
			
		||||
      }
 | 
			
		||||
      await restoreCache(cache);
 | 
			
		||||
      const cacheDependencyPath = core.getInput('cache-dependency-path');
 | 
			
		||||
      await restoreCache(cache, cacheDependencyPath);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    const matchersPath = path.join(__dirname, '../..', '.github');
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user