mirror of
https://github.com/actions/checkout.git
synced 2026-07-29 01:49:07 +00:00
Apply suggestion from @bdeeming
Co-authored-by: BD <developer@deeming.nz>
This commit is contained in:
parent
f16029d4bb
commit
d98c5beb15
|
|
@ -272,9 +272,11 @@ export async function getSource(settings: IGitSourceSettings): Promise<void> {
|
||||||
core.endGroup()
|
core.endGroup()
|
||||||
|
|
||||||
// LFS checkout
|
// LFS checkout
|
||||||
core.startGroup('Checking out LFS objects')
|
if (settings.lfs && !settings.sparseCheckout) {
|
||||||
await git.lfsCheckout()
|
core.startGroup('Checking out LFS objects')
|
||||||
core.endGroup()
|
await git.lfsCheckout()
|
||||||
|
core.endGroup()
|
||||||
|
}
|
||||||
|
|
||||||
// Submodules
|
// Submodules
|
||||||
if (settings.submodules) {
|
if (settings.submodules) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue