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:
Frits Talbot 2020-10-10 10:02:44 +02:00
parent ad5dc19390
commit a5c1ce924a
7 changed files with 19 additions and 15 deletions

View file

@ -93,9 +93,10 @@ Refer [here](https://github.com/actions/checkout/blob/v1/README.md) for previous
# Default: 1
fetch-depth: ''
# Number of fetches to perform simultaneously when updating submodules. 0
# indicates default (serial updates).
# Default: 0
# 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
fetch-jobs: ''
# Whether to download Git-LFS files