fix: set default in poper location
This commit is contained in:
parent
e64f41c816
commit
667e00a90c
@ -26,6 +26,7 @@ inputs:
|
|||||||
required: false
|
required: false
|
||||||
tools:
|
tools:
|
||||||
description: 'Setup popular tools globally.'
|
description: 'Setup popular tools globally.'
|
||||||
|
defaut: '/usr/local/bin'
|
||||||
required: false
|
required: false
|
||||||
tools-dir:
|
tools-dir:
|
||||||
description: 'Directory where all tools will be installed to.'
|
description: 'Directory where all tools will be installed to.'
|
||||||
|
|||||||
@ -19,7 +19,7 @@ export async function getScript(os: string): Promise<string> {
|
|||||||
const script_path = path.join(__dirname, '../src/scripts', filename);
|
const script_path = path.join(__dirname, '../src/scripts', filename);
|
||||||
const run_path = script_path.replace(os, 'run');
|
const run_path = script_path.replace(os, 'run');
|
||||||
process.env['fail_fast'] = await utils.getInput('fail-fast', false);
|
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 extension_csv: string = await utils.getInput('extensions', false);
|
||||||
const ini_values_csv: string = await utils.getInput('ini-values', false);
|
const ini_values_csv: string = await utils.getInput('ini-values', false);
|
||||||
const coverage_driver: string = await utils.getInput('coverage', false);
|
const coverage_driver: string = await utils.getInput('coverage', false);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user