From de1fba8b3f90ce8db80f663a7043be3cf3231248 Mon Sep 17 00:00:00 2001 From: Mirro Mutth Date: Fri, 6 Sep 2019 12:10:30 +0800 Subject: [PATCH] Update document --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 368d1c7..891132f 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,17 @@ This [GitHub Action](https://github.com/features/actions) sets up a MySQL databa ```yaml steps: -- uses: mirromutth/mysql-action@v1 +- uses: mirromutth/mysql-action@v1.1 with: - mysql password: ${{ secrets.databasePassword }} # Required, the password of the superuser for the specified database - mysql user: 'developer' # Optional, default value is "test", the superuser for the specified database. Of course you can use secrets, too - mysql version: '8.0' # Optional, default value is "latest", the version of the MySQL in Docker - mysql database: 'some_test' # Optional, default value is "test", the specified database which will be create + host port: 3800 # Optional, default value is 3306. The port of host + container port: 3307 # Optional, default value is 3306. The port of container + character set server: 'utf8' # Optional, default value is 'utf8mb4'. The '--character-set-server' option for mysqld + collation server: 'utf8_general_ci' # Optional, default value is 'utf8mb4_general_ci'. The '--collation-server' option for mysqld + mysql version: '8.0' # Optional, default value is "latest". The version of the MySQL + mysql database: 'some_test' # Optional, default value is "test". The specified database which will be create + mysql root password: ${{ secrets.RootPassword }} # Required if "mysql user" is empty, default is empty. The root superuser password + mysql user: 'developer' # Required if "mysql root password" is empty, default is empty. The superuser for the specified database. Of course you can use secrets, too + mysql password: ${{ secrets.DatabasePassword }} # Required if "mysql user" exists. The password for the "mysql user" ``` See [Docker Hub](https://hub.docker.com/_/mysql) for available versions.