File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ runs:
22
22
wget -nv $URL
23
23
tar -xf $LIBMYSQL --strip-components=1 -C $MYSQL_DIR
24
24
PDO_MYSQL=${MYSQL_DIR}
25
- ${{ inputs.withMysqli && 'MYSQLI=${MYSQL_DIR}/bin/mysql_config' }}
25
+ ${{ inputs.withMysqli == 'true' && 'MYSQLI=${MYSQL_DIR}/bin/mysql_config' || ' ' }}
26
26
./buildconf --force
27
27
./configure ${{ inputs.configurationParameters }} \
28
28
--enable-option-checking=fatal \
29
29
--disable-all \
30
30
--enable-pdo \
31
31
--with-pdo-mysql=${PDO_MYSQL} \
32
- ${{ inputs.withMysqli && '--with-mysqli=${MYSQLI}' }}
32
+ ${{ inputs.withMysqli == 'true' && '--with-mysqli=${MYSQLI}' || ' ' }}
33
33
make clean
34
34
make -j$(/usr/bin/nproc) >/dev/null
Original file line number Diff line number Diff line change 8
8
- shell : bash
9
9
run : |
10
10
set -x
11
- ${{ inputs.withMysqli && 'export MYSQL_TEST_USER=root' }}
12
- ${{ inputs.withMysqli && 'export MYSQL_TEST_PASSWD=root' }}
11
+ ${{ inputs.withMysqli == 'true' && 'export MYSQL_TEST_USER=root' || ' ' }}
12
+ ${{ inputs.withMysqli == 'true' && 'export MYSQL_TEST_PASSWD=root' || ' ' }}
13
13
export PDO_MYSQL_TEST_DSN="mysql:host=127.0.0.1;dbname=test"
14
14
export PDO_MYSQL_TEST_HOST=127.0.0.1
15
15
export PDO_MYSQL_TEST_USER=root
You can’t perform that action at this time.
0 commit comments