Skip to content

Commit b91978d

Browse files
committed
ci(runNode): print chat-server log if failure
Signed-off-by: Xin Liu <[email protected]>
1 parent c1c3f6a commit b91978d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/runNode.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ jobs:
3333
export PATH=$HOME/gaianet/bin:$PATH
3434
gaianet start
3535
sleep 10
36+
37+
- name: Print logs
38+
if: failure()
39+
run: |
40+
cat $HOME/gaianet/log/chat-server.log
41+
3642
- name: Test localhost API
3743
continue-on-error: true
3844
run: |

0 commit comments

Comments
 (0)