Cleanup
This commit is contained in:
Vendored
+306
-20
File diff suppressed because it is too large
Load Diff
Generated
+3
-231
File diff suppressed because it is too large
Load Diff
+1
-2
@@ -35,10 +35,9 @@
|
|||||||
"@types/node": "^12.0.4",
|
"@types/node": "^12.0.4",
|
||||||
"@types/semver": "^6.0.0",
|
"@types/semver": "^6.0.0",
|
||||||
"@zeit/ncc": "^0.20.5",
|
"@zeit/ncc": "^0.20.5",
|
||||||
"husky": "^3.0.0",
|
|
||||||
"jest": "^24.8.0",
|
"jest": "^24.8.0",
|
||||||
"jest-circus": "^24.7.1",
|
"jest-circus": "^24.7.1",
|
||||||
"prettier": "^1.17.1",
|
"prettier": "^1.19.1",
|
||||||
"ts-jest": "^24.0.2",
|
"ts-jest": "^24.0.2",
|
||||||
"typescript": "^3.5.1"
|
"typescript": "^3.5.1"
|
||||||
},
|
},
|
||||||
|
|||||||
+3
-3
@@ -41,9 +41,9 @@ export async function getJava(
|
|||||||
if (!jdkFile) {
|
if (!jdkFile) {
|
||||||
core.debug('Downloading Jdk from Azul');
|
core.debug('Downloading Jdk from Azul');
|
||||||
let http: httpm.HttpClient = new httpm.HttpClient('setup-java');
|
let http: httpm.HttpClient = new httpm.HttpClient('setup-java');
|
||||||
let contents = await (await http.get(
|
let contents = await (
|
||||||
'https://static.azul.com/zulu/bin/'
|
await http.get('https://static.azul.com/zulu/bin/')
|
||||||
)).readBody();
|
).readBody();
|
||||||
let refs = contents.match(/<a href.*\">/gi) || [];
|
let refs = contents.match(/<a href.*\">/gi) || [];
|
||||||
|
|
||||||
const downloadInfo = getDownloadInfo(refs, version, javaPackage);
|
const downloadInfo = getDownloadInfo(refs, version, javaPackage);
|
||||||
|
|||||||
Reference in New Issue
Block a user