1
Fork 0
mirror of https://gitea.com/actions/checkout.git synced 2024-11-23 00:55:57 +01:00
This commit is contained in:
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)
} }