mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-10-31 23:36:21 +07:00 
			
		
		
		
	Add devtools on self-hosted workflows
This commit is contained in:
		| @ -83,7 +83,7 @@ patch_pdo_oci_config() { | ||||
| add_dependencies() { | ||||
|   if [ "$os" = 'Linux' ]; then | ||||
|     if [ "${runner:?}" = "self-hosted" ]; then | ||||
|       ${apt_install:?} --no-upgrade --no-install-recommends autoconf automake libaio-dev gcc g++ | ||||
|       ${apt_install:?} --no-upgrade --no-install-recommends libaio-dev | ||||
|     fi | ||||
|     ! [[ ${version:?} =~ $nightly_versions ]] && add_devtools phpize | ||||
|   fi | ||||
|  | ||||
| @ -3,7 +3,7 @@ self_hosted_helper() { | ||||
|   if ! command -v apt-fast >/dev/null; then | ||||
|     sudo ln -sf /usr/bin/apt-get /usr/bin/apt-fast | ||||
|   fi | ||||
|   install_packages curl make software-properties-common unzip | ||||
|   install_packages curl make software-properties-common unzip autoconf automake gcc g++ | ||||
|   add_ppa | ||||
| } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shivam Mathur
					Shivam Mathur