diff --git a/dist/index.js b/dist/index.js index e17ca9e..b0383d0 100644 --- a/dist/index.js +++ b/dist/index.js @@ -8098,7 +8098,7 @@ function downloadRepository(accessToken, owner, repo, ref, repositoryPath) { return __awaiter(this, void 0, void 0, function* () { const octokit = new github.GitHub(accessToken); const params = { - archive_format: IS_WINDOWS ? 'zipball' : 'tarballl', + archive_format: IS_WINDOWS ? 'zipball' : 'tarball', owner: owner, repo: repo, ref: ref diff --git a/src/github-api-helper.ts b/src/github-api-helper.ts index aa4ded2..21f8cd5 100644 --- a/src/github-api-helper.ts +++ b/src/github-api-helper.ts @@ -20,7 +20,7 @@ export async function downloadRepository( ): Promise { const octokit = new github.GitHub(accessToken) const params: ReposGetArchiveLinkParams = { - archive_format: IS_WINDOWS ? 'zipball' : 'tarballl', + archive_format: IS_WINDOWS ? 'zipball' : 'tarball', owner: owner, repo: repo, ref: ref