Skip to content

Commit

Permalink
Merge pull request #4 from sanak/add-mysql-encoding
Browse files Browse the repository at this point in the history
Support MySQL encoding (utf8mb4)
  • Loading branch information
hidakatsuya authored Jun 2, 2024
2 parents 0023a5d + 9781d2e commit 127c7bd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ runs:
-e MYSQL_ROOT_PASSWORD=password \
-e MYSQL_DATABASE=redmine_test \
-p 3306:3306 \
-d ${{ inputs.database }}
-d ${{ inputs.database }} \
--character-set-server=utf8mb4 \
--collation-server=utf8mb4_unicode_ci
cat <<EOS > config/database.yml
test:
Expand All @@ -116,6 +118,7 @@ runs:
port: 3306
username: root
password: password
encoding: utf8mb4
EOS
shell: bash
working-directory: ${{ inputs.path }}
Expand Down

0 comments on commit 127c7bd

Please sign in to comment.