mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-08-14 17:30:50 +00:00
fix(lfs): ensure that LFS objects are checked out
This commit is contained in:
parent
96f53100ba
commit
38cc68387c
2 changed files with 10 additions and 0 deletions
|
@ -211,6 +211,11 @@ export async function getSource(settings: IGitSourceSettings): Promise<void> {
|
|||
await git.checkout(checkoutInfo.ref, checkoutInfo.startPoint)
|
||||
core.endGroup()
|
||||
|
||||
// LFS checkout
|
||||
core.startGroup('Checking out LFS objects')
|
||||
await git.lfsCheckout()
|
||||
core.endGroup()
|
||||
|
||||
// Submodules
|
||||
if (settings.submodules) {
|
||||
// Temporarily override global config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue