Update .gitea/workflows/mysql.yml

This commit is contained in:
Lunny Xiao 2024-01-29 07:05:53 +00:00
parent 9ea09453fd
commit 7429611c23
1 changed files with 6 additions and 2 deletions

View File

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