Fix php.ini in php7.4 in darwin

This commit is contained in:
Shivam Mathur 2019-09-18 17:09:07 +05:30
parent e4a37d0f16
commit 339c69c9a5
3 changed files with 4 additions and 2 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "setup-php",
"version": "1.3.0",
"version": "1.3.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "setup-php",
"version": "1.3.0",
"version": "1.3.1",
"private": false,
"description": "Setup php action",
"main": "lib/setup-php.js",

View File

@ -45,4 +45,6 @@ phpbrew install -j 10 7.4.0RC2 +default +bz2="$(brew --prefix bzip2)" +zlib="$(b
phpbrew switch php-7.4.0RC2 >> /dev/null
sudo mkdir -p /usr/local/bin
sudo ln -sf /Users/runner/.phpbrew/php/php-7.4.0RC2/bin/php /usr/local/bin/php
ini_file=$(php --ini | grep "Loaded Configuration" | sed -e "s|.*:s*||" | sed "s/ //g")
sudo chmod 777 $ini_file
brew install composer