mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 09:56:46 +00:00
Added debug output
This commit is contained in:
parent
f69f9cdc0b
commit
e1f157b4c6
2 changed files with 3 additions and 0 deletions
1
dist/setup/index.js
vendored
1
dist/setup/index.js
vendored
|
@ -33749,6 +33749,7 @@ function getDownloadInfo(refs, version, arch, javaPackage, distro = 'zulu') {
|
|||
maxRetries: 3
|
||||
});
|
||||
let json = '';
|
||||
core.debug(`url: ${url}`);
|
||||
const response = yield http.get(url);
|
||||
const statusCode = response.message.statusCode || 0;
|
||||
if (statusCode == 200) {
|
||||
|
|
|
@ -282,6 +282,8 @@ async function getDownloadInfo(
|
|||
});
|
||||
let json: any = '';
|
||||
|
||||
core.debug(`url: ${url}`);
|
||||
|
||||
const response = await http.get(url);
|
||||
const statusCode = response.message.statusCode || 0;
|
||||
if (statusCode == 200) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue