mirror of https://github.com/actions/checkout
Apply suggestion from @bdeeming
Co-authored-by: BD <developer@deeming.nz>
parent
38cc68387c
commit
6a27b96959
|
|
@ -212,9 +212,11 @@ export async function getSource(settings: IGitSourceSettings): Promise<void> {
|
|||
core.endGroup()
|
||||
|
||||
// LFS checkout
|
||||
if (settings.lfs && !settings.sparseCheckout) {
|
||||
core.startGroup('Checking out LFS objects')
|
||||
await git.lfsCheckout()
|
||||
core.endGroup()
|
||||
}
|
||||
|
||||
// Submodules
|
||||
if (settings.submodules) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue