Skip to content

Commit

Permalink
Improve bash snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez committed Apr 8, 2024
1 parent c109133 commit 0b496a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ jobs:

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

0 comments on commit 0b496a3

Please sign in to comment.