@@ -9,7 +9,7 @@ CHANGED_PWD=false
9
9
CHANGED_PWD_BY_RECREATE=false
10
10
11
11
# Install the default used DB if DB is not set.
12
- if [[ -n ${GITHUB_ACTION -} && -z ${DB-} ]]; then
12
+ if [[ -n ${GITHUB_ACTIONS -} && -z ${DB-} ]]; then
13
13
if command -v lsb_release > /dev/null; then
14
14
case " $( lsb_release -cs) " in
15
15
xenial | bionic)
45
45
46
46
# Install MariaDB client headers after Travis CI fix for MariaDB 10.2 broke earlier 10.x
47
47
if [[ -n ${DB-} && x$DB =~ ^xmariadb10.0 ]]; then
48
- if [[ -n ${GITHUB_ACTION -} ]]; then
48
+ if [[ -n ${GITHUB_ACTIONS -} ]]; then
49
49
sudo apt-get install -y -o Dpkg::Options::=' --force-confnew' mariadb-server mariadb-server-10.0 libmariadb2
50
50
CHANGED_PWD_BY_RECREATE=true
51
51
else
55
55
56
56
# Install MariaDB client headers after Travis CI fix for MariaDB 10.2 broke earlier 10.x
57
57
if [[ -n ${DB-} && x$DB =~ ^xmariadb10.1 ]]; then
58
- if [[ -n ${GITHUB_ACTION -} ]]; then
58
+ if [[ -n ${GITHUB_ACTIONS -} ]]; then
59
59
sudo apt-get install -y -o Dpkg::Options::=' --force-confnew' mariadb-server mariadb-server-10.1 libmariadb-dev
60
60
CHANGED_PWD_BY_RECREATE=true
61
61
else
@@ -70,7 +70,7 @@ if [[ -n ${DB-} && x$DB =~ ^xmariadb10.2 ]]; then
70
70
fi
71
71
72
72
# Install MariaDB 10.3 if DB=mariadb10.3
73
- if [[ -n ${GITHUB_ACTION -} && -n ${DB-} && x$DB =~ ^xmariadb10.3 ]]; then
73
+ if [[ -n ${GITHUB_ACTIONS -} && -n ${DB-} && x$DB =~ ^xmariadb10.3 ]]; then
74
74
sudo apt-get install -y -o Dpkg::Options::=' --force-confnew' mariadb-server mariadb-server-10.3 libmariadb-dev
75
75
CHANGED_PWD=true
76
76
fi
@@ -95,7 +95,7 @@ if [[ x$OSTYPE =~ ^xdarwin ]]; then
95
95
else
96
96
mysqld --version
97
97
98
- if [[ -n ${GITHUB_ACTION -} && -f /etc/mysql/debian.cnf ]]; then
98
+ if [[ -n ${GITHUB_ACTIONS -} && -f /etc/mysql/debian.cnf ]]; then
99
99
MYSQL_OPTS=' --defaults-extra-file=/etc/mysql/debian.cnf'
100
100
# Install from packages in OS official packages.
101
101
if sudo grep -q debian-sys-maint /etc/mysql/debian.cnf; then
0 commit comments