Browse Source

ci: update apt cache (#17057)

version-14
Ankush Menat 3 years ago
committed by GitHub
parent
commit
9137a597eb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions
  1. +1
    -1
      .github/helper/install.sh
  2. +1
    -5
      .github/helper/install_dependencies.sh

+ 1
- 1
.github/helper/install.sh View File

@@ -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'";



+ 1
- 5
.github/helper/install_dependencies.sh View File

@@ -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

Loading…
Cancel
Save