Skip to content

Commit 1bb3c9a

Browse files
committed
Add ts value check to specify PHP 'conf.d' directory
1 parent 1091937 commit 1bb3c9a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,8 @@ runs:
4141
shell: bash
4242
run: |
4343
cp ./modules/zephir_parser.so "$(php -r 'echo ini_get("extension_dir");')/zephir_parser.so"
44-
echo "extension=zephir_parser.so" > /usr/local/etc/php/${{ matrix.php }}/conf.d/ext-zephir_parser.ini
44+
if [ "${{ matrix.ts }}" = "ts" ]; then
45+
echo "extension=zephir_parser.so" > /usr/local/etc/php/${{ matrix.php }}-zts/conf.d/ext-zephir_parser.ini
46+
else
47+
echo "extension=zephir_parser.so" > /usr/local/etc/php/${{ matrix.php }}/conf.d/ext-zephir_parser.ini
48+
fi

0 commit comments

Comments
 (0)