Skip to content

Commit

Permalink
Update maven.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Snootic authored Apr 11, 2024
1 parent 3ef4a10 commit 6baca88
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6baca88

Please sign in to comment.