Add Java automation
Fetch Java versions with their dates from https://www.java.com/releases/. This script is using a new dependency: requests-html (https://requests-html.kennethreitz.org/). This is because https://www.java.com/releases/ needs JavaScript to render correctly. And for this to work requests-html automatically downloads Chromium because of its dependency to pyppeteer. Chromium is downloaded into PYPPETEER_HOME, so the workflow has been modified to set this directory as a subdirectory of ~/.cache. Note that declaring the same environment variable from the python script does not work.
This commit is contained in:
@@ -13,3 +13,4 @@ six==1.16.0
|
||||
soupsieve==2.3.2.post1
|
||||
typing_extensions==4.3.0
|
||||
webencodings==0.5.1
|
||||
requests-html==0.10.0
|
||||
|
||||
Reference in New Issue
Block a user