Skip to content

Commit 925de29

Browse files
renemadsenclaude
andcommitted
fix: update startup log check to match ListenAnyIP bind address
ListenAnyIP logs as "http://[::]:5000" instead of "http://0.0.0.0:5000". Updated grep pattern to match any bind address with port 5000. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6bddb53 commit 925de29

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/dotnet-core-master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
if: ${{ always() }}
8585
run: |
8686
cat docker_run_log
87-
result=`cat docker_run_log | grep "Now listening on: http://0.0.0.0:5000" -m 1 | wc -l`
87+
result=`cat docker_run_log | grep "Now listening on:.*:5000" -m 1 | wc -l`
8888
if [ $result -ne 1 ];then exit 1; fi
8989
- name: Stop mariadb
9090
if: ${{ always() }}

.github/workflows/dotnet-core-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
if: ${{ always() }}
8585
run: |
8686
cat docker_run_log
87-
result=`cat docker_run_log | grep "Now listening on: http://0.0.0.0:5000" -m 1 | wc -l`
87+
result=`cat docker_run_log | grep "Now listening on:.*:5000" -m 1 | wc -l`
8888
if [ $result -ne 1 ];then exit 1; fi
8989
- name: Stop mariadb
9090
if: ${{ always() }}

0 commit comments

Comments
 (0)