mirror of
https://code.forgejo.org/actions/checkout.git
synced 2026-07-28 06:32:54 +00:00
Apply suggestion from @bdeeming
Co-authored-by: BD <developer@deeming.nz>
This commit is contained in:
parent
f16029d4bb
commit
d98c5beb15
1 changed files with 5 additions and 3 deletions
|
|
@ -272,9 +272,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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue