forked from mirromutth/mysql-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
50 lines (50 loc) · 1.54 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: 'Setup MySQL'
description: 'Setup a MySQL database'
author: 'Mirro Mutth'
branding:
icon: 'database'
color: 'orange'
inputs:
host port:
description: 'The port of host'
required: false
default: 3306
container port:
description: 'The port of container'
required: false
default: 3306
character set server:
description: '--character-set-server - The character set of MySQL server'
required: false
default: 'utf8mb4'
collation server:
description: '--collation-server - The character collation of MySQL server'
required: false
default: 'utf8mb4_general_ci'
mysql version:
description: 'Version of MySQL to use'
required: false
default: 'latest'
mysql root password:
description: 'MYSQL_ROOT_PASSWORD - root superuser password'
required: false
default: ''
mysql database:
description: 'MYSQL_DATABASE - name for the default database that is created'
required: false
default: ''
mysql user:
description: 'MYSQL_USER - create the specified user with superuser power for created database'
required: false
default: ''
mysql password:
description: 'MYSQL_PASSWORD - specified superuser password which user is power for created database'
required: false
default: ''
sql mode:
description: '--sql-mode - The sql-mode of MySQL server'
required: false
default: 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'
runs:
using: 'docker'
image: 'Dockerfile'