Using actions/cache@v2 causes problems with ruby, see https://github.com/ruby/setup-ruby#caching-bundle-install-manually Closes #8221 closes #8226
8 lines
233 B
Bash
Executable file
8 lines
233 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Create a database.yml for the right database
|
|
echo "Setting up database.yml for ${DB}"
|
|
cp config/database.yml.example config/database.yml
|
|
if [ "${DB}" = "mysql" ]; then
|
|
sed -i 's/*common/*mysql/' config/database.yml
|
|
fi
|