Change TOOLS_DIR to SETUP_PHP_TOOLS_DIR to prevent regression

This commit is contained in:
JMoodyFWD 2025-05-06 11:00:13 -06:00
parent cf4cade272
commit dc7e73e115

View File

@ -55,7 +55,7 @@ read_env() {
fail_fast="${fail_fast:-${FAIL_FAST:-false}}" fail_fast="${fail_fast:-${FAIL_FAST:-false}}"
[[ -z "${ImageOS}" && -z "${ImageVersion}" || -n ${ACT} ]] && _runner=self-hosted || _runner=github [[ -z "${ImageOS}" && -z "${ImageVersion}" || -n ${ACT} ]] && _runner=self-hosted || _runner=github
runner="${runner:-${RUNNER:-$_runner}}" runner="${runner:-${RUNNER:-$_runner}}"
tool_path_dir="${tools_dir:-${TOOLS_DIR:-/usr/local/bin}}" tool_path_dir="${setup_php_tools_dir:-${SETUP_PHP_TOOLS_DIR:-/usr/local/bin}}"
if [[ "$runner" = "github" && $_runner = "self-hosted" ]]; then if [[ "$runner" = "github" && $_runner = "self-hosted" ]]; then
fail_fast=true fail_fast=true
@ -76,7 +76,7 @@ read_env() {
export runner export runner
export update export update
export ts export ts
export tools_dir_path export tool_path_dir
} }
# Function to create a lock. # Function to create a lock.