File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,9 @@ read_env() {
53
53
[ " ${debug:- ${DEBUG:- false} } " = " true" ] && debug=debug && update=true || debug=release
54
54
[[ " ${phpts:- ${PHPTS:- nts} } " = " ts" || " ${phpts:- ${PHPTS:- nts} } " = " zts" ]] && ts=zts && update=true || ts=nts
55
55
fail_fast=" ${fail_fast:- ${FAIL_FAST:- false} } "
56
- [[ -z " ${ImageOS} " && -z " ${ImageVersion} " || -n ${ACT} ]] && _runner=self-hosted || _runner=github
56
+ [[ ( -z " $ImageOS " && -z " $ImageVersion " ) ||
57
+ ( -n " $RUNNER_ENVIRONMENT " && " $RUNNER_ENVIRONMENT " = " self-hosted" ) ||
58
+ -n " $ACT " || -n " $CONTAINER " ]] && _runner=self-hosted || _runner=github
57
59
runner=" ${runner:- ${RUNNER:- $_runner } } "
58
60
tool_path_dir=" ${setup_php_tools_dir:- ${SETUP_PHP_TOOLS_DIR:-/ usr/ local/ bin} } "
59
61
You can’t perform that action at this time.
0 commit comments