From 9137a597ebed0fb81f39405deb54b49dce1bce11 Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Thu, 2 Jun 2022 14:40:14 +0530 Subject: [PATCH] ci: update apt cache (#17057) --- .github/helper/install.sh | 2 +- .github/helper/install_dependencies.sh | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/helper/install.sh b/.github/helper/install.sh index 246bdbe096..3ef7db34f6 100644 --- a/.github/helper/install.sh +++ b/.github/helper/install.sh @@ -17,7 +17,7 @@ if [ "$TYPE" == "server" ]; then fi if [ "$DB" == "mariadb" ];then - sudo apt update && sudo apt install mariadb-client-10.3 + sudo apt install mariadb-client-10.3 mysql --host 127.0.0.1 --port 3306 -u root -e "SET GLOBAL character_set_server = 'utf8mb4'"; mysql --host 127.0.0.1 --port 3306 -u root -e "SET GLOBAL collation_server = 'utf8mb4_unicode_ci'"; diff --git a/.github/helper/install_dependencies.sh b/.github/helper/install_dependencies.sh index f0e8016860..18bc4e6f9a 100644 --- a/.github/helper/install_dependencies.sh +++ b/.github/helper/install_dependencies.sh @@ -16,8 +16,4 @@ sudo mv /tmp/wkhtmltox/bin/wkhtmltopdf /usr/local/bin/wkhtmltopdf sudo chmod o+x /usr/local/bin/wkhtmltopdf # install cups -sudo apt-get install libcups2-dev - -# install redis -sudo apt-get install redis-server - +sudo apt update && sudo apt install libcups2-dev redis-server