From 7429611c2334f14f6d704b64d5e838f0f8d4a926 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 29 Jan 2024 07:05:53 +0000 Subject: [PATCH] Update .gitea/workflows/mysql.yml --- .gitea/workflows/mysql.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/mysql.yml b/.gitea/workflows/mysql.yml index 0a80a91..c11940e 100644 --- a/.gitea/workflows/mysql.yml +++ b/.gitea/workflows/mysql.yml @@ -9,8 +9,12 @@ jobs: test: name: test mysql8 runs-on: ubuntu-latest - steps: - - run: apt-get install -y default-mysql-client + steps: + - run: apt-get update && apt-get install -y lsb-release inetutils-tools + - run: wget https://dev.mysql.com/get/mysql-apt-config_0.8.24-1_all.deb + - run: DEBIAN_FRONTEND=noninteractive dpkg -i mysql-apt-config_0.8.24-1_all.deb + - run: apt-get update + - run: apt install -y mysql-client - run: mysql -h mysql8 -u root -e '\q' services: