mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-29 14:42:59 +02:00
Add support for sparse checkouts
This commit is contained in:
parent
f095bcc56b
commit
9f59c817cf
12 changed files with 188 additions and 13 deletions
|
@ -53,6 +53,11 @@ 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.
|
||||
Each pattern should be separated with new lines
|
||||
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