fix: reordering tasks
This commit is contained in:
parent
b99cd357c1
commit
04f50a0b93
1 changed files with 8 additions and 4 deletions
10
.github/workflows/exec.yml
vendored
10
.github/workflows/exec.yml
vendored
|
@ -29,7 +29,11 @@ jobs:
|
||||||
- name: Set up MySQL
|
- name: Set up MySQL
|
||||||
uses: mirromutth/mysql-action@v1.1
|
uses: mirromutth/mysql-action@v1.1
|
||||||
with:
|
with:
|
||||||
mysql root password: root
|
mysql root password: "root"
|
||||||
|
mysql version: "8.0"
|
||||||
|
- name: Injecting credentials
|
||||||
|
run: |
|
||||||
|
echo -e "[client]\nuser=root\npassword=root\nhost=127.0.0.1\nprotocol=TCP" > $HOME/.my.cnf
|
||||||
|
|
||||||
- name: Cloning test_db dataset
|
- name: Cloning test_db dataset
|
||||||
run: |
|
run: |
|
||||||
|
@ -39,8 +43,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cd test_db
|
cd test_db
|
||||||
netstat -ltpn
|
netstat -ltpn
|
||||||
#sudo mysql -e 'select version();'
|
mysql -e 'select version();'
|
||||||
mysql --protocol=TCP -uroot -proot test< ./employees.sql
|
mysql test< ./employees.sql
|
||||||
cd -
|
cd -
|
||||||
rm -rf test_db
|
rm -rf test_db
|
||||||
# Runs a single command using the runners shell
|
# Runs a single command using the runners shell
|
||||||
|
|
Loading…
Reference in a new issue