Skip to content

Commit

Permalink
fix(actions): add the env variables to setup mysql as local env for t…
Browse files Browse the repository at this point in the history
…hat step
  • Loading branch information
danvergara committed Apr 28, 2021
1 parent 0a527b1 commit 76f4dcc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ jobs:
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
DB_DATABASE: users
DB_USER: root
DB_PASSWORD: root
steps:
- name: Set up MySQL
run: |
sudo /etc/init.d/mysql start
mysql -e 'CREATE DATABASE ${{ env.DB_DATABASE }};' -u${{ env.DB_USER }} -p${{ env.DB_PASSWORD }}
env:
DB_DATABASE: users
DB_USER: root
DB_PASSWORD: root

# The steps that will be run through for each version and platform combination.
- name: Set up Go ${{ matrix.goVer }}
Expand Down

0 comments on commit 76f4dcc

Please sign in to comment.