mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-21 17:12:03 +03:00
Support fetch-jobs: 0 to use as many jobs as there are processors
The default is now fetch-jobs: -1, which is the new value for reverting to normal git behavior (provide no --jobs argument).
This commit is contained in:
parent
ad5dc19390
commit
a5c1ce924a
7 changed files with 19 additions and 15 deletions
|
@ -57,8 +57,11 @@ inputs:
|
|||
description: 'Number of commits to fetch. 0 indicates all history for all branches and tags.'
|
||||
default: 1
|
||||
fetch-jobs:
|
||||
description: 'Number of fetches to perform simultaneously when updating submodules. 0 indicates default (serial updates).'
|
||||
default: 0
|
||||
description: >
|
||||
Number of fetches to perform simultaneously when updating submodules:
|
||||
-1 indicates to use git default (serial updates). 0 uses as many jobs as
|
||||
there are processors.
|
||||
default: -1
|
||||
lfs:
|
||||
description: 'Whether to download Git-LFS files'
|
||||
default: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue