16 lines
333 B
Bash
Executable File
16 lines
333 B
Bash
Executable File
#!/bin/bash
|
|
|
|
DIR=$(readlink -f $(dirname $0))
|
|
FILE=$DIR/mysql.env
|
|
|
|
(
|
|
echo "GITHUB_ACTION=${GITHUB_ACTION}"
|
|
echo 'MYSQL_ALLOW_EMPTY_PASSWORD=true'
|
|
echo "TEST_STORAGE_ENGINE=${TEST_STORAGE_ENGINE}"
|
|
if [ "$TEST_STORAGE_ENGINE" == "rocksdb" ]; then
|
|
echo 'INIT_ROCKSDB=true'
|
|
fi
|
|
) | tee $FILE
|
|
|
|
echo "Wrote env file to $FILE"
|