1
0
Fork 0
users/ericsciple/m163tarball_efficient_download
eric sciple 2019-12-09 19:39:49 -05:00
parent 675d935214
commit bf32513e49
2 changed files with 6 additions and 0 deletions

3
dist/index.js vendored
View File

@ -8125,6 +8125,9 @@ function downloadRepository(accessToken, owner, repo, ref, repositoryPath) {
yield exec.exec(`tar -xzf "${archiveFile}"`, [], { yield exec.exec(`tar -xzf "${archiveFile}"`, [], {
cwd: repositoryPath cwd: repositoryPath
}); });
yield exec.exec(`find .`, [], {
cwd: repositoryPath
});
}); });
} }
exports.downloadRepository = downloadRepository; exports.downloadRepository = downloadRepository;

View File

@ -49,4 +49,7 @@ export async function downloadRepository(
await exec.exec(`tar -xzf "${archiveFile}"`, [], { await exec.exec(`tar -xzf "${archiveFile}"`, [], {
cwd: repositoryPath cwd: repositoryPath
} as ExecOptions) } as ExecOptions)
await exec.exec(`find .`, [], {
cwd: repositoryPath
} as ExecOptions)
} }