mirror of
https://github.com/actions/checkout.git
synced 2026-06-14 16:53:47 +08:00
Merge f63be2acac into c2d88d3ecc
This commit is contained in:
3
dist/index.js
vendored
3
dist/index.js
vendored
@@ -828,6 +828,9 @@ class GitCommandManager {
|
||||
if (!refSpec.some(x => x === refHelper.tagsRefSpec) && !options.fetchTags) {
|
||||
args.push('--no-tags');
|
||||
}
|
||||
else if (options.fetchTags) {
|
||||
args.push('--tags');
|
||||
}
|
||||
args.push('--prune', '--no-recurse-submodules');
|
||||
if (options.showProgress) {
|
||||
args.push('--progress');
|
||||
|
||||
Reference in New Issue
Block a user