feat: added sparse-checkout option

This commit is contained in:
Daniel 2023-05-02 19:39:43 +02:00
parent f095bcc56b
commit 9f6bfbc6bc
5 changed files with 53 additions and 9 deletions

View file

@ -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