Skip to content

Commit f5aee9b

Browse files
renemadsenclaude
andcommitted
fix(ci): update startup log grep for HTTP/2 compatibility
Kestrel now uses Http1AndHttp2 protocol mode, which may change the listening URL format. Use wildcard grep pattern to match regardless of protocol scheme, consistent with eform-angular-frontend CI. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1b1309d commit f5aee9b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
- name: Get standard output
117117
run: |
118118
cat docker_run_log
119-
result=`cat docker_run_log | grep "Now listening on: http://0.0.0.0:5000" -m 1 | wc -l`
119+
result=`cat docker_run_log | grep "Now listening on:.*:5000" -m 1 | wc -l`
120120
if [ $result -ne 1 ];then exit 1; fi
121121
- name: Enable plugin
122122
if: matrix.test != 'a'
@@ -135,7 +135,7 @@ jobs:
135135
- name: Get standard output
136136
run: |
137137
cat docker_run_log
138-
result=`cat docker_run_log | grep "Now listening on: http://0.0.0.0:5000" -m 1 | wc -l`
138+
result=`cat docker_run_log | grep "Now listening on:.*:5000" -m 1 | wc -l`
139139
if [ $result -ne 1 ];then exit 1; fi
140140
- name: Get standard output
141141
if: ${{ failure() }}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
- name: Get standard output
111111
run: |
112112
cat docker_run_log
113-
result=`cat docker_run_log | grep "Now listening on: http://0.0.0.0:5000" -m 1 | wc -l`
113+
result=`cat docker_run_log | grep "Now listening on:.*:5000" -m 1 | wc -l`
114114
if [ $result -ne 1 ];then exit 1; fi
115115
- name: Enable plugin
116116
if: matrix.test != 'a'
@@ -129,7 +129,7 @@ jobs:
129129
- name: Get standard output
130130
run: |
131131
cat docker_run_log
132-
result=`cat docker_run_log | grep "Now listening on: http://0.0.0.0:5000" -m 1 | wc -l`
132+
result=`cat docker_run_log | grep "Now listening on:.*:5000" -m 1 | wc -l`
133133
if [ $result -ne 1 ];then exit 1; fi
134134
- name: Get standard output
135135
if: ${{ failure() }}

0 commit comments

Comments
 (0)