mirror of
https://code.forgejo.org/actions/checkout
synced 2025-04-22 00:33:53 +08:00
Add option to fetch tags even if fetch-depth > 0 (#579)
* Add option to fetch tags even if fetch-depth > 0 * Add jest tests for fetchDepth and fetchTags options
This commit is contained in:
parent
96f53100ba
commit
7739b9ba2e
10 changed files with 214 additions and 8 deletions
|
@ -65,6 +65,9 @@ inputs:
|
|||
fetch-depth:
|
||||
description: 'Number of commits to fetch. 0 indicates all history for all branches and tags.'
|
||||
default: 1
|
||||
fetch-tags:
|
||||
description: 'Whether to fetch tags, even if fetch-depth > 0.'
|
||||
default: false
|
||||
lfs:
|
||||
description: 'Whether to download Git-LFS files'
|
||||
default: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue