mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-29 22:20:32 +00:00 
			
		
		
		
	.
This commit is contained in:
		
							
								
								
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							| @@ -8393,7 +8393,7 @@ function downloadRepository(accessToken, owner, repo, ref, commit, repositoryPat | ||||
|                 const response = yield octokit.repos.getArchiveLink(params); | ||||
|                 console.log('GOT THE RESPONSE'); | ||||
|                 console.log(response.status); | ||||
|                 if (response.status != 302) { | ||||
|                 if (response.status != 200) { | ||||
|                     throw new Error(`Unexpected response from GitHub API. Status: '${response.status}'`); | ||||
|                 } | ||||
|                 console.log('GETTING THE LOCATION'); | ||||
|   | ||||
| @@ -53,7 +53,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) { | ||||
|       if (response.status != 200) { | ||||
|         throw new Error( | ||||
|           `Unexpected response from GitHub API. Status: '${response.status}'` | ||||
|         ) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 eric sciple
					eric sciple