File tree Expand file tree Collapse file tree 2 files changed +10
-17
lines changed
Expand file tree Collapse file tree 2 files changed +10
-17
lines changed Original file line number Diff line number Diff line change @@ -199,25 +199,18 @@ jobs:
199199 cat docker_run_log
200200 result=`cat docker_run_log | grep "Now listening on: http://0.0.0.0:5000" -m 1 | wc -l`
201201 if [ $result -ne 1 ];then exit 1; fi
202- - name : The job has failed
203- if : always()
202+ - name : Get standard output
203+ if : ${{ failure() }}
204204 run : |
205205 cat docker_run_log
206- - name : Archive mp4 artifacts
206+ - name : Archive videos
207207 if : ${{ failure() }}
208208 uses : actions/upload-artifact@v4
209209 with :
210- name : error Screenshots
210+ name : cypress-videos-${{matrix.test}}
211211 path : |
212- /home/runner/work/eform-angular-timeplanning-plugin/eform-angular-timeplanning-plugin/eform-angular-frontend/eform-client/cypress/videos/*.cy.ts. mp4
212+ /home/runner/work/eform-angular-timeplanning-plugin/eform-angular-timeplanning-plugin/eform-angular-frontend/eform-client/cypress/videos/*.mp4
213213 retention-days : 2
214- - name : Archive screenshot artifacts
215- if : ${{ failure() }}
216- uses : actions/upload-artifact@v4
217- with :
218- name : error Screenshots ${{matrix.test}}
219- path : |
220- /home/runner/work/eform-angular-frontend/eform-angular-frontend/eform-client/errorShots/*.png
221214 test-dotnet :
222215 runs-on : ubuntu-latest
223216 steps :
Original file line number Diff line number Diff line change @@ -190,17 +190,17 @@ jobs:
190190 cat docker_run_log
191191 result=`cat docker_run_log | grep "Now listening on: http://0.0.0.0:5000" -m 1 | wc -l`
192192 if [ $result -ne 1 ];then exit 1; fi
193- - name : The job has failed
194- if : always()
193+ - name : Get standard output
194+ if : ${{ failure() }}
195195 run : |
196196 cat docker_run_log
197- - name : Archive screenshot artifacts
197+ - name : Archive videos
198198 if : ${{ failure() }}
199199 uses : actions/upload-artifact@v4
200200 with :
201- name : error Screenshots
201+ name : cypress-videos-${{matrix.test}}
202202 path : |
203- eform-angular-frontend/eform-client/errorShots/chrome*.png
203+ /home/runner/work/ eform-angular-timeplanning-plugin/eform-angular-timeplanning-plugin/eform-angular- frontend/eform-client/cypress/videos/*.mp4
204204 retention-days : 2
205205 test-dotnet :
206206 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments