mirror of
https://github.com/actions/checkout.git
synced 2024-11-22 21:25:28 +00:00
.
This commit is contained in:
parent
675d935214
commit
bf32513e49
3
dist/index.js
vendored
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…
Reference in New Issue
Block a user