mirror of http://gitea.com/actions/checkout
This commit is contained in:
parent
31d9a4bd37
commit
0b63af4c8c
|
@ -8392,7 +8392,8 @@ function downloadRepository(accessToken, owner, repo, ref, commit, repositoryPat
|
|||
};
|
||||
const response = yield octokit.repos.getArchiveLink(params);
|
||||
console.log('GOT THE RESPONSE');
|
||||
console.log(response.status);
|
||||
console.log(`status=${response.status}`);
|
||||
console.log(`headers=${JSON.stringify(response.headers)}`);
|
||||
if (response.status != 200) {
|
||||
throw new Error(`Unexpected response from GitHub API. Status: '${response.status}'`);
|
||||
}
|
||||
|
|
|
@ -52,7 +52,8 @@ export async function downloadRepository(
|
|||
}
|
||||
const response = await octokit.repos.getArchiveLink(params)
|
||||
console.log('GOT THE RESPONSE')
|
||||
console.log(response.status)
|
||||
console.log(`status=${response.status}`)
|
||||
console.log(`headers=${JSON.stringify(response.headers)}`)
|
||||
if (response.status != 200) {
|
||||
throw new Error(
|
||||
`Unexpected response from GitHub API. Status: '${response.status}'`
|
||||
|
|
Loading…
Reference in New Issue