diff --git a/action.yml b/action.yml index c51544e9..f09b7d83 100644 --- a/action.yml +++ b/action.yml @@ -26,6 +26,7 @@ inputs: required: false tools: description: 'Setup popular tools globally.' + defaut: '/usr/local/bin' required: false tools-dir: description: 'Directory where all tools will be installed to.' diff --git a/src/install.ts b/src/install.ts index 712c3219..b38c61fc 100644 --- a/src/install.ts +++ b/src/install.ts @@ -19,7 +19,7 @@ export async function getScript(os: string): Promise { const script_path = path.join(__dirname, '../src/scripts', filename); const run_path = script_path.replace(os, 'run'); process.env['fail_fast'] = await utils.getInput('fail-fast', false); - process.env['tool_path_dir'] = await utils.getInput('tools-dir', '/usr/local/bin'); + process.env['tool_path_dir'] = await utils.getInput('tools-dir', false); const extension_csv: string = await utils.getInput('extensions', false); const ini_values_csv: string = await utils.getInput('ini-values', false); const coverage_driver: string = await utils.getInput('coverage', false);