users/ericsciple/m163tarball_efficient_download
eric sciple 5 years ago
parent 675d935214
commit bf32513e49

3
dist/index.js vendored

@ -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;

@ -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)
} }

Loading…
Cancel
Save