Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tdatIT authored May 4, 2024
1 parent 65aabd1 commit 2b81359
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
env:
DB_DATABASE: recauction_db
DB_USER: root
DB_PASSWORD: 123123@Dat
DB_PASSWORD: '123123@Dat'

runs-on: ubuntu-latest

Expand All @@ -20,7 +20,7 @@ jobs:
run: |
sudo /etc/init.d/mysql start
sudo mysql -e "ALTER USER '${{ env.DB_USER }}'@'localhost' IDENTIFIED WITH mysql_native_password BY '${{ env.DB_PASSWORD }}';"
sudo mysql -u${{ env.DB_USER }} -p${{ env.DB_PASSWORD }} -e "CREATE DATABASE IF NOT EXISTS ${{ env.DB_DATABASE }};"
sudo mysql -u${{ env.DB_USER }} -p"${{ env.DB_PASSWORD }}" -e "CREATE DATABASE IF NOT EXISTS ${{ env.DB_DATABASE }};"
- uses: actions/checkout@v4
- name: Set up JDK 11
Expand Down

0 comments on commit 2b81359

Please sign in to comment.