File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,6 @@ inputs:
27
27
tools :
28
28
description : ' Setup popular tools globally.'
29
29
required : false
30
- tools-dir :
31
- description : ' Directory where all tools will be installed to.'
32
- defaut : ' /usr/local/bin'
33
- required : false
34
30
outputs :
35
31
php-version :
36
32
description : ' PHP version in semver format'
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ export async function getScript(os: string): Promise<string> {
19
19
const script_path = path . join ( __dirname , '../src/scripts' , filename ) ;
20
20
const run_path = script_path . replace ( os , 'run' ) ;
21
21
process . env [ 'fail_fast' ] = await utils . getInput ( 'fail-fast' , false ) ;
22
- process . env [ 'tool_path_dir' ] = await utils . getInput ( 'tools-dir' , false ) ;
23
22
const extension_csv : string = await utils . getInput ( 'extensions' , false ) ;
24
23
const ini_values_csv : string = await utils . getInput ( 'ini-values' , false ) ;
25
24
const coverage_driver : string = await utils . getInput ( 'coverage' , false ) ;
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ read_env() {
55
55
fail_fast=" ${fail_fast:- ${FAIL_FAST:- false} } "
56
56
[[ -z " ${ImageOS} " && -z " ${ImageVersion} " || -n ${ACT} ]] && _runner=self-hosted || _runner=github
57
57
runner=" ${runner:- ${RUNNER:- $_runner } } "
58
+ tool_path_dir=" ${tools_dir:- ${TOOLS_DIR:-/ usr/ local/ bin} } "
58
59
59
60
if [[ " $runner " = " github" && $_runner = " self-hosted" ]]; then
60
61
fail_fast=true
@@ -75,6 +76,7 @@ read_env() {
75
76
export runner
76
77
export update
77
78
export ts
79
+ export tools_dir_path
78
80
}
79
81
80
82
# Function to create a lock.
You can’t perform that action at this time.
0 commit comments