Fixed the workflow file structure.
parent
b72e45ae77
commit
1afe030c1c
|
@ -13,28 +13,25 @@ jobs:
|
||||||
MYSQL_USER: sqlmonarcuser
|
MYSQL_USER: sqlmonarcuser
|
||||||
MYSQL_PASSWORD: password
|
MYSQL_PASSWORD: password
|
||||||
|
|
||||||
#- name: Shutdown Ubuntu MySQL (SUDO)
|
steps:
|
||||||
#run: sudo service mysql stop
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
#- name: Start MariaDB and create databases
|
#- name: Shutdown Ubuntu MySQL (SUDO)
|
||||||
#uses: getong/mariadb-action@v1.1
|
#run: sudo service mysql stop
|
||||||
#with:
|
|
||||||
#host port: $MYSQL_HOST_PORT
|
#- name: Start MariaDB and create databases
|
||||||
#mariadb version: $MYSQL_VERSION # Optional, default value is "latest". The version of the MariaDB
|
#uses: getong/mariadb-action@v1.1
|
||||||
#mysql database: $MYSQL_DATABASE # Optional, default value is "test". The specified database which will be create
|
#with:
|
||||||
#mysql root password: $MYSQL_ROOT_PASSWORD # Required if "mysql user" is empty, default is empty. The root superuser password
|
#host port: $MYSQL_HOST_PORT
|
||||||
#mysql user: $MYSQL_USER # Required if "mysql root password" is empty, default is empty. The superuser for the specified database. Can use secrets, too
|
#mariadb version: $MYSQL_VERSION # Optional, default value is "latest". The version of the MariaDB
|
||||||
|
#mysql database: $MYSQL_DATABASE # Optional, default value is "test". The specified database which will be create
|
||||||
|
#mysql root password: $MYSQL_ROOT_PASSWORD # Required if "mysql user" is empty, default is empty. The root superuser password
|
||||||
|
#mysql user: $MYSQL_USER # Required if "mysql root password" is empty, default is empty. The superuser for the specified database. Can use secrets, too
|
||||||
#mysql password: $MYSQL_PASSWORD # Required if "mysql user" exists. The password for the "mysql user"
|
#mysql password: $MYSQL_PASSWORD # Required if "mysql user" exists. The password for the "mysql user"
|
||||||
|
|
||||||
- name: Start MySQL (SUDO)
|
- name: Start MySQL (SUDO)
|
||||||
run: sudo service mysql start
|
run: sudo service mysql start
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
|
|
||||||
- name: Shutdown Ubuntu MySQL (SUDO)
|
|
||||||
run: sudo service mysql stop
|
|
||||||
|
|
||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue