Release from master

This commit is contained in:
Danny McCormick 2019-08-21 22:58:23 -04:00
parent 5273d0df9c
commit 8de2f9fcbc
34 changed files with 371 additions and 293 deletions

View file

@ -26,7 +26,10 @@ function run() {
// Version is optional. If supplied, install / use from the tool cache
// If not supplied then task is still used to setup proxy, auth, etc...
//
const version = core.getInput('version');
let version = core.getInput('version');
if (!version) {
version = core.getInput('node-version');
}
if (version) {
// TODO: installer doesn't support proxy
yield installer.getNode(version);