mirror of
https://github.com/actions/checkout.git
synced 2024-11-22 14:16:23 +01:00
.
This commit is contained in:
parent
afff79a5a2
commit
c124b3fb75
2 changed files with 2 additions and 2 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
@ -8098,7 +8098,7 @@ function downloadRepository(accessToken, owner, repo, ref, repositoryPath) {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
const octokit = new github.GitHub(accessToken);
|
const octokit = new github.GitHub(accessToken);
|
||||||
const params = {
|
const params = {
|
||||||
archive_format: IS_WINDOWS ? 'zipball' : 'tarballl',
|
archive_format: IS_WINDOWS ? 'zipball' : 'tarball',
|
||||||
owner: owner,
|
owner: owner,
|
||||||
repo: repo,
|
repo: repo,
|
||||||
ref: ref
|
ref: ref
|
||||||
|
|
|
@ -20,7 +20,7 @@ export async function downloadRepository(
|
||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
const octokit = new github.GitHub(accessToken)
|
const octokit = new github.GitHub(accessToken)
|
||||||
const params: ReposGetArchiveLinkParams = {
|
const params: ReposGetArchiveLinkParams = {
|
||||||
archive_format: IS_WINDOWS ? 'zipball' : 'tarballl',
|
archive_format: IS_WINDOWS ? 'zipball' : 'tarball',
|
||||||
owner: owner,
|
owner: owner,
|
||||||
repo: repo,
|
repo: repo,
|
||||||
ref: ref
|
ref: ref
|
||||||
|
|
Loading…
Reference in a new issue