diff --git a/dist/index.js b/dist/index.js index 45c8d27..13f3e36 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1261,6 +1261,7 @@ function getSource(settings) { else { fetchOptions.fetchDepth = settings.fetchDepth; fetchOptions.fetchTags = settings.fetchTags; + fetchOptions.showProgress = settings.showProgress; const refSpec = refHelper.getRefSpec(settings.ref, settings.commit); yield git.fetch(refSpec, fetchOptions); } diff --git a/src/git-source-provider.ts b/src/git-source-provider.ts index c1360b8..acbf688 100644 --- a/src/git-source-provider.ts +++ b/src/git-source-provider.ts @@ -177,6 +177,7 @@ export async function getSource(settings: IGitSourceSettings): Promise { } else { fetchOptions.fetchDepth = settings.fetchDepth fetchOptions.fetchTags = settings.fetchTags + fetchOptions.showProgress = settings.showProgress const refSpec = refHelper.getRefSpec(settings.ref, settings.commit) await git.fetch(refSpec, fetchOptions) }