diff --git a/src/git-utils.ts b/src/git-utils.ts index 43c43866e..8e2a61e1e 100644 --- a/src/git-utils.ts +++ b/src/git-utils.ts @@ -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) {