Skip to content

Commit 0b496a3

Browse files
committed
Improve bash snippets
1 parent c109133 commit 0b496a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@ jobs:
8989

9090
# See: https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md#mysql
9191
run: |
92-
if [ "${DB_ADAPTER}" = "mysql2" ] || [ "${DB_ADAPTER}" = "trilogy" ]; then
92+
if [[ "${DB_ADAPTER}" == "mysql2" ]] || [[ "${DB_ADAPTER}" == "trilogy" ]]; then
9393
sudo systemctl start mysql.service
9494
mysql -u root -proot -e 'create database ajax_datatables_rails;'
9595
fi
9696
97-
if [ "${DB_ADAPTER}" = "oracle_enhanced" ]; then
97+
if [[ "${DB_ADAPTER}" == "oracle_enhanced" ]]; then
9898
./spec/install_oracle.sh
9999
# Fix error : libnnz11.so: cannot open shared object file: No such file or directory
100100
sudo ln -s ${ORACLE_HOME}/lib/libnnz11.so /usr/lib/libnnz11.so

0 commit comments

Comments
 (0)