mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-24 12:25:34 +00:00
.
This commit is contained in:
parent
154a05918b
commit
31d9a4bd37
2 changed files with 2 additions and 2 deletions
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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue