From 2b1b5f3b08fb48582713a4a411d1dbf54f92d0ac Mon Sep 17 00:00:00 2001 From: Russell York Date: Tue, 28 Jan 2020 15:29:19 +1100 Subject: [PATCH 1/2] update variable names --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a627111..4c03834 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,10 @@ the current license agreement for [Oracle Database Express Edition][]. 1. Add your Oracle username and password to your build [environment variables][], either as hidden repository settings or encrypted variables: - | Variable Name | Value | - | --------------------- | ------------- | - | `ORACLE_LOGIN_userid` | your username | - | `ORACLE_LOGIN_pass` | your password | + | Variable Name | Value | + | -------------------------- | ------------- | + | `ORACLE_LOGIN_ssousername` | your username | + | `ORACLE_LOGIN_password` | your password | 2. Add the version information to your build environment variables: From e92a66235d3ad43194c4da52e583d80a204c731a Mon Sep 17 00:00:00 2001 From: Russell York Date: Wed, 29 Jan 2020 15:39:31 +1100 Subject: [PATCH 2/2] fix for tls 1.2 --- download.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download.js b/download.js index 15e7ad4..d142e79 100644 --- a/download.js +++ b/download.js @@ -21,7 +21,7 @@ if (credentials.length <= 0) { process.exit(1); } -Phantom.createAsync({ parameters: { 'ssl-protocol': 'tlsv1' } }).then(function (browser) { +Phantom.createAsync({ parameters: { 'ssl-protocol': 'tlsv1.2' } }).then(function (browser) { browser = Promise.promisifyAll(browser, { suffix: 'Promise' }); browser.addCookie({'name': 'oraclelicense', 'value': "accept-" + env['ORACLE_COOKIE'] + "-cookie", 'domain': '.oracle.com' });