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