Skip to content

Commit

Permalink
feat: blobless clone
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Nov 19, 2024
1 parent 0b7567f commit f0c7a51
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/git-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,16 @@ export async function setRepo(inps: Inputs, remoteURL: string, workDir: string):
try {
result.exitcode = await exec.exec(
'git',
['clone', '--depth=1', '--single-branch', '--branch', inps.PublishBranch, remoteURL, workDir],
[
'clone',
'--filter=blob:none',
'--depth=1',
'--single-branch',
'--branch',
inps.PublishBranch,
remoteURL,
workDir
],
options
);
if (result.exitcode === 0) {
Expand Down

0 comments on commit f0c7a51

Please sign in to comment.