1
0
Fork 0
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:
Daniel 2023-05-02 19:39:43 +02:00 committed by Johannes Schindelin
parent f095bcc56b
commit 9f59c817cf
12 changed files with 188 additions and 13 deletions

View file

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