Skip to content

Commit 3483031

Browse files
committed
try to fix sql health check
1 parent 27bf501 commit 3483031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dotnetpull.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
SA_PASSWORD: YourStrong@Passw0rd
1919
ACCEPT_EULA: Y
2020
options: >-
21-
--health-cmd " /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P 'YourStrong@Passw0rd' -Q 'SELECT 1'"
21+
--health-cmd "bash -c '</dev/tcp/localhost/1433' && exit 0 || exit 1"
2222
--health-interval=10s
2323
--health-timeout=5s
2424
--health-retries=10

0 commit comments

Comments
 (0)