Skip to content

Commit 4aa4f74

Browse files
committed
#160 - Add mkdir for conf.d folder if it misses
1 parent 3af9f92 commit 4aa4f74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/actions/build-mac/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ runs:
4040
php --ini
4141
cp ./modules/zephir_parser.so "$(php -r 'echo ini_get("extension_dir");')/zephir_parser.so"
4242
if [ "${{ matrix.ts }}" = "ts" ]; then
43-
ls -la /opt/homebrew/etc/php/${{ matrix.php }}-zts
43+
mkdir -p /opt/homebrew/etc/php/${{ matrix.php }}-zts/conf.d
4444
echo "extension=zephir_parser.so" > /opt/homebrew/etc/php/${{ matrix.php }}-zts/conf.d/ext-zephir_parser.ini
4545
else
46-
ls -la /opt/homebrew/etc/php/${{ matrix.php }}
46+
mkdir -p /opt/homebrew/etc/php/${{ matrix.php }}/conf.d
4747
echo "extension=zephir_parser.so" > /opt/homebrew/etc/php/${{ matrix.php }}/conf.d/ext-zephir_parser.ini
4848
fi

0 commit comments

Comments
 (0)