We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d371420 commit df8d123Copy full SHA for df8d123
1 file changed
src/scripts/unix.sh
@@ -53,7 +53,9 @@ read_env() {
53
[ "${debug:-${DEBUG:-false}}" = "true" ] && debug=debug && update=true || debug=release
54
[[ "${phpts:-${PHPTS:-nts}}" = "ts" || "${phpts:-${PHPTS:-nts}}" = "zts" ]] && ts=zts && update=true || ts=nts
55
fail_fast="${fail_fast:-${FAIL_FAST:-false}}"
56
- [[ -z "${ImageOS}" && -z "${ImageVersion}" || -n ${ACT} ]] && _runner=self-hosted || _runner=github
+ [[ ( -z "$ImageOS" && -z "$ImageVersion" ) ||
57
+ ( -n "$RUNNER_ENVIRONMENT" && "$RUNNER_ENVIRONMENT" = "self-hosted" ) ||
58
+ -n "$ACT" || -n "$CONTAINER" ]] && _runner=self-hosted || _runner=github
59
runner="${runner:-${RUNNER:-$_runner}}"
60
tool_path_dir="${setup_php_tools_dir:-${SETUP_PHP_TOOLS_DIR:-/usr/local/bin}}"
61
0 commit comments