File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -18,16 +18,21 @@ jobs:
1818 - name : Checkout repository
1919 uses : actions/checkout@v3
2020
21+ - name : Install Docker Compose
22+ run : |
23+ sudo curl -L "https://github.com/docker/compose/releases/download/v2.25.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
24+ sudo chmod +x /usr/local/bin/docker-compose
25+ docker-compose version
26+
27+ - name : Start MySQL with Docker Compose
28+ run : docker-compose up -d
29+
2130 - name : Set up JDK 21
2231 uses : actions/setup-java@v3
2332 with :
2433 distribution : ' temurin'
2534 java-version : ' 21'
2635
27- - name : Set up Docker Compose
28- run : |
29- docker-compose up -d
30-
3136 - name : Wait for MySQL to be ready
3237 run : |
3338 until docker exec $(docker ps -qf "ancestor=mysql:latest") mysqladmin ping -uroot -prootpassword --silent; do
You can’t perform that action at this time.
0 commit comments