Skip to content

Commit 5a4f5e1

Browse files
authored
better wait
1 parent 53a8f22 commit 5a4f5e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ jobs:
5656

5757
- name: Wait for MSSQL
5858
run: |
59-
for i in {1..30}; do
59+
for i in {1..10}; do
60+
sleep $((11 - i))
6061
if echo "SELECT 1" | /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P veryStrong123 &> /dev/null; then
6162
echo "MSSQL is ready!"
6263
break
6364
fi
6465
echo "Waiting for MSSQL to be ready..."
65-
sleep 2
6666
done
6767
6868
- name: Run Core Module Tests
@@ -97,7 +97,7 @@ jobs:
9797
target-folder: javadoc-core # url will be https://<username>.github.io/<repo>/javadoc-core
9898
project: maven # or gradle
9999

100-
deploy:
100+
maven-deploy:
101101
runs-on: ubuntu-latest
102102
needs: [build]
103103
if: ${{ github.ref == 'refs/heads/main' }}

0 commit comments

Comments
 (0)