File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,12 @@ workflow(
148148 name = " Fetch maven-metadata.xml for nested action" ,
149149 command = " curl --fail http://localhost:8080/actions/cache__save/maven-metadata.xml | grep '<version>v4</version>'" ,
150150 )
151+
152+ run (
153+ name = " Print server logs" ,
154+ command = " cat jit-binding-server/logs/server.log" ,
155+ condition = expr { always() }
156+ )
151157 }
152158
153159 job(
Original file line number Diff line number Diff line change @@ -118,6 +118,10 @@ jobs:
118118 - id : ' step-16'
119119 name : ' Fetch maven-metadata.xml for nested action'
120120 run : ' curl --fail http://localhost:8080/actions/cache__save/maven-metadata.xml | grep '' <version>v4</version>'' '
121+ - id : ' step-17'
122+ name : ' Print server logs'
123+ run : ' cat jit-binding-server/logs/server.log'
124+ if : ' ${{ always() }}'
121125 deploy :
122126 name : ' Deploy to DockerHub'
123127 runs-on : ' ubuntu-latest'
You can’t perform that action at this time.
0 commit comments