Skip to content

Commit f3bd027

Browse files
committedAug 28, 2023
Fix missing instantclient in CI
We should only pass the --with-pdo-oci and --with-oci8 flags if instantclient is installed. Closes GH-12066
1 parent e1396a3 commit f3bd027

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎.github/actions/configure-x64/action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ runs:
7474
--with-imap \
7575
--with-imap-ssl \
7676
--with-pdo-odbc=unixODBC,/usr \
77-
--with-pdo-oci=shared,instantclient,/opt/oracle/instantclient \
78-
--with-oci8=shared,instantclient,/opt/oracle/instantclient \
77+
$([ -d "/opt/oracle/instantclient" ] && echo '--with-pdo-oci=shared,instantclient,/opt/oracle/instantclient') \
78+
$([ -d "/opt/oracle/instantclient" ] && echo '--with-oci8=shared,instantclient,/opt/oracle/instantclient') \
7979
--with-config-file-path=/etc \
8080
--with-config-file-scan-dir=/etc/php.d \
8181
--with-pdo-firebird \

0 commit comments

Comments
 (0)