Apply suggestion from @bdeeming

Co-authored-by: BD <developer@deeming.nz>
Sam Lijin 2026-07-24 15:35:44 -07:00 committed by GitHub
parent 38cc68387c
commit 6a27b96959
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 3 deletions

View File

@ -212,9 +212,11 @@ export async function getSource(settings: IGitSourceSettings): Promise<void> {
core.endGroup()
// LFS checkout
core.startGroup('Checking out LFS objects')
await git.lfsCheckout()
core.endGroup()
if (settings.lfs && !settings.sparseCheckout) {
core.startGroup('Checking out LFS objects')
await git.lfsCheckout()
core.endGroup()
}
// Submodules
if (settings.submodules) {