mirror of
				https://gitea.com/actions/checkout.git
				synced 2025-10-31 07:47:03 +00:00 
			
		
		
		
	.
This commit is contained in:
		
							
								
								
									
										4
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							| @@ -8115,7 +8115,9 @@ function downloadRepository(accessToken, owner, repo, ref, repositoryPath) { | ||||
|         assert.ok(runnerTemp, 'RUNNER_TEMP not defined'); | ||||
|         const archiveFile = path.join(runnerTemp, 'checkout.tar.gz'); | ||||
|         yield fs.promises.writeFile(archiveFile, response.data); | ||||
|         yield exec.exec(`tar -xzf "${archiveFile}"`, [], { cwd: repositoryPath }); | ||||
|         yield exec.exec(`tar -xzf "${archiveFile}"`, [], { | ||||
|             cwd: repositoryPath | ||||
|         }); | ||||
|     }); | ||||
| } | ||||
| exports.downloadRepository = downloadRepository; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 eric sciple
					eric sciple