Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dc7e73e

Browse files
committed
Change TOOLS_DIR to SETUP_PHP_TOOLS_DIR to prevent regression
1 parent cf4cade commit dc7e73e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scripts/unix.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ read_env() {
5555
fail_fast="${fail_fast:-${FAIL_FAST:-false}}"
5656
[[ -z "${ImageOS}" && -z "${ImageVersion}" || -n ${ACT} ]] && _runner=self-hosted || _runner=github
5757
runner="${runner:-${RUNNER:-$_runner}}"
58-
tool_path_dir="${tools_dir:-${TOOLS_DIR:-/usr/local/bin}}"
58+
tool_path_dir="${setup_php_tools_dir:-${SETUP_PHP_TOOLS_DIR:-/usr/local/bin}}"
5959

6060
if [[ "$runner" = "github" && $_runner = "self-hosted" ]]; then
6161
fail_fast=true
@@ -76,7 +76,7 @@ read_env() {
7676
export runner
7777
export update
7878
export ts
79-
export tools_dir_path
79+
export tool_path_dir
8080
}
8181

8282
# Function to create a lock.

0 commit comments

Comments
 (0)