-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,13 +28,11 @@ jobs: | |
distribution: 'temurin' | ||
cache: maven | ||
|
||
- uses: mirromutth/[email protected] | ||
with: | ||
collation server: 'utf8_general_ci' # Optional, default value is 'utf8mb4_general_ci'. The '--collation-server' option for mysqld | ||
mysql version: latest # Optional, default value is "latest". The version of the MySQL | ||
mysql database: 'sphynx_api' # Optional, default value is "test". The specified database which will be create | ||
mysql root password: 'root' # Required if "mysql user" is empty, default is empty. The root superuser password | ||
|
||
- name: Start MySQL | ||
run: | | ||
sudo /etc/init.d/mysql start | ||
mysql -e "CREATE DATABASE IF NOT EXISTS sphynx_api;" -u root -p root | ||
- name: Build with Maven | ||
run: mvn -B package --file pom.xml | ||
|
||
|