From 667e00a90cec137c2ff290586e4738fd6556f5de Mon Sep 17 00:00:00 2001 From: Sn0wCrack <442287+Sn0wCrack@users.noreply.github.com> Date: Wed, 2 Apr 2025 15:52:36 +1100 Subject: [PATCH] fix: set default in poper location --- action.yml | 1 + src/install.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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);