Compare commits

..

4 Commits

Author SHA1 Message Date
1c0119c056 . 2020-05-18 11:37:12 -04:00
095ab69cb7 . 2020-05-18 11:35:54 -04:00
e7b5a7c545 . 2020-05-18 11:34:49 -04:00
e37249e03d support ghes 2020-05-18 10:01:07 -04:00

3
dist/index.js vendored
View File

@ -10943,7 +10943,7 @@ function downloadTool(url, dest, auth) {
}
}
// Otherwise retry
return true;
return false;
});
});
}
@ -10965,6 +10965,7 @@ function downloadToolAttempt(url, dest, auth) {
};
}
const response = yield http.get(url, headers);
throw new HTTPError(500);
if (response.message.statusCode !== 200) {
const err = new HTTPError(response.message.statusCode);
core.debug(`Failed to download from "${url}". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);