mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-11-04 17:06:37 +07:00 
			
		
		
		
	Mark runner as self-hosted on nektos/act
This commit is contained in:
		@ -53,7 +53,7 @@ read_env() {
 | 
				
			|||||||
  [ "${debug:-${DEBUG:-false}}" = "true" ] && debug=debug && update=true || debug=release
 | 
					  [ "${debug:-${DEBUG:-false}}" = "true" ] && debug=debug && update=true || debug=release
 | 
				
			||||||
  [ "${phpts:-${PHPTS:-nts}}" = "ts" ] && ts=zts && update=true || ts=nts
 | 
					  [ "${phpts:-${PHPTS:-nts}}" = "ts" ] && ts=zts && update=true || ts=nts
 | 
				
			||||||
  fail_fast="${fail_fast:-${FAIL_FAST:-false}}"
 | 
					  fail_fast="${fail_fast:-${FAIL_FAST:-false}}"
 | 
				
			||||||
  [[ -z "${ImageOS}" && -z "${ImageVersion}" ]] && _runner=self-hosted || _runner=github
 | 
					  [[ -z "${ImageOS}" && -z "${ImageVersion}" || -n ${ACT} ]] && _runner=self-hosted || _runner=github
 | 
				
			||||||
  runner="${runner:-${RUNNER:-$_runner}}"
 | 
					  runner="${runner:-${RUNNER:-$_runner}}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if [[ "$runner" = "github" && $_runner = "self-hosted" ]]; then
 | 
					  if [[ "$runner" = "github" && $_runner = "self-hosted" ]]; then
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user