We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b01e56b commit e88e1d8Copy full SHA for e88e1d8
1 file changed
bin/utils/clone-action.ts
@@ -55,15 +55,15 @@ export const cloneAction = async (
55
await fs.promises.mkdir(tempDir, { recursive: true })
56
await spawn("git", [
57
"clone",
58
+ repoUrl,
59
+ tempDir,
60
+ "--branch",
61
+ config.branch,
62
"--depth=1",
- "--filter=blob:none",
- "--sparse",
63
"--single-branch",
64
"--no-tags",
- "--branch",
- config.branch,
65
- repoUrl,
66
- tempDir,
+ "--filter=blob:none",
+ "--sparse",
67
])
68
69
await spawn(
@@ -88,8 +88,7 @@ export const cloneAction = async (
88
tempDir,
89
"--branch",
90
config.branch,
91
- "--depth",
92
- "1",
+ "--depth=1",
93
94
95
...(options.recursive ? ["--recursive"] : []),
0 commit comments