Add support for reference repository parameter

This commit is contained in:
Diego Dompe 2023-06-30 15:14:41 -06:00
parent 96f53100ba
commit e60e249777
10 changed files with 66 additions and 1 deletions

View file

@ -65,6 +65,12 @@ inputs:
fetch-depth:
description: 'Number of commits to fetch. 0 indicates all history for all branches and tags.'
default: 1
reference:
required: false
description: >
Path to a local bare git [reference repository to minimize network usage](https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---reference-if-ableltrepositorygt).
If the directory doesn't exists this option will ignore it and log a message.
lfs:
description: 'Whether to download Git-LFS files'
default: false