mirror of
				https://github.com/actions/checkout.git
				synced 2025-11-04 21:39:16 +08:00 
			
		
		
		
	.
This commit is contained in:
		
							
								
								
									
										3
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							@@ -8125,6 +8125,9 @@ function downloadRepository(accessToken, owner, repo, ref, repositoryPath) {
 | 
			
		||||
        yield exec.exec(`tar -xzf "${archiveFile}"`, [], {
 | 
			
		||||
            cwd: repositoryPath
 | 
			
		||||
        });
 | 
			
		||||
        yield exec.exec(`find .`, [], {
 | 
			
		||||
            cwd: repositoryPath
 | 
			
		||||
        });
 | 
			
		||||
    });
 | 
			
		||||
}
 | 
			
		||||
exports.downloadRepository = downloadRepository;
 | 
			
		||||
 
 | 
			
		||||
@@ -49,4 +49,7 @@ export async function downloadRepository(
 | 
			
		||||
  await exec.exec(`tar -xzf "${archiveFile}"`, [], {
 | 
			
		||||
    cwd: repositoryPath
 | 
			
		||||
  } as ExecOptions)
 | 
			
		||||
  await exec.exec(`find .`, [], {
 | 
			
		||||
    cwd: repositoryPath
 | 
			
		||||
  } as ExecOptions)
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user