mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-21 17:12:03 +03:00
feat: added sparse-checkout option
This commit is contained in:
parent
f095bcc56b
commit
9f6bfbc6bc
5 changed files with 53 additions and 9 deletions
|
@ -53,6 +53,9 @@ inputs:
|
|||
clean:
|
||||
description: 'Whether to execute `git clean -ffdx && git reset --hard HEAD` before fetching'
|
||||
default: true
|
||||
sparse-checkout:
|
||||
description: 'Do a sparse checkout on given patterns'
|
||||
default: null
|
||||
fetch-depth:
|
||||
description: 'Number of commits to fetch. 0 indicates all history for all branches and tags.'
|
||||
default: 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue