mirror of
https://github.com/actions/runner-images.git
synced 2025-12-10 19:16:48 +00:00
17 lines
460 B
Bash
17 lines
460 B
Bash
#!/bin/bash -e -o pipefail
|
|
################################################################################
|
|
## File: install-php.sh
|
|
## Desc: Install PHP
|
|
################################################################################
|
|
|
|
source ~/utils/utils.sh
|
|
|
|
echo Installing PHP
|
|
phpVersionToolset=$(get_toolset_value '.php.version')
|
|
brew_smart_install "php@${phpVersionToolset}"
|
|
|
|
echo Installing composer
|
|
brew_smart_install "composer"
|
|
|
|
invoke_tests "PHP"
|