mirror of
https://gitea.com/actions/checkout.git
synced 2025-08-19 10:16:04 +08:00
.
This commit is contained in:
@@ -52,6 +52,7 @@ export async function downloadRepository(
|
||||
}
|
||||
const response = await octokit.repos.getArchiveLink(params)
|
||||
console.log('GOT THE RESPONSE')
|
||||
console.log(response.status)
|
||||
if (response.status != 302) {
|
||||
throw new Error(
|
||||
`Unexpected response from GitHub API. Status: '${response.status}'`
|
||||
|
Reference in New Issue
Block a user