mirror of
https://data.forgejo.org/actions/checkout
synced 2026-08-15 00:46:04 +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()
|
core.endGroup()
|
||||||
|
|
||||||
// LFS checkout
|
// LFS checkout
|
||||||
|
if (settings.lfs && !settings.sparseCheckout) {
|
||||||
core.startGroup('Checking out LFS objects')
|
core.startGroup('Checking out LFS objects')
|
||||||
await git.lfsCheckout()
|
await git.lfsCheckout()
|
||||||
core.endGroup()
|
core.endGroup()
|
||||||
|
}
|
||||||
|
|
||||||
// Submodules
|
// Submodules
|
||||||
if (settings.submodules) {
|
if (settings.submodules) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue