This commit is contained in:
parent
306dc1c898
commit
afff79a5a2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue