fix: set default in poper location

This commit is contained in:
Sn0wCrack 2025-04-02 15:52:36 +11:00 committed by GitHub
parent e64f41c816
commit 667e00a90c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -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.'

View File

@ -19,7 +19,7 @@ export async function getScript(os: string): Promise<string> {
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);