Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
kirre-bylund committed Nov 1, 2024
1 parent 63269a1 commit 778d511
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build-with-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,9 @@ jobs:

- name: Check build result
run: |
grep -i -E -- '(Exited with code: [1-9]+?)|(ExitCode=[1-9]+?)' ${{ ENV.SDK_PATH }}/tmp/logs/UAT.log
tail -n 30 ${{ ENV.SDK_PATH }}/tmp/logs/UAT.log
grep -i -q -E -- '(Exited with code: [1-9]+?)|(ExitCode=[1-9]+?)' ${{ ENV.SDK_PATH }}/tmp/logs/UAT.log
grep -i -q -E -- 'AutomationTool exiting with ExitCode=0' ${{ ENV.SDK_PATH }}/tmp/logs/UAT.log
BUILD_RESULT=$?
if [ 0 -eq $BUILD_RESULT ]; then
if [ ! 0 -eq $BUILD_RESULT ]; then
echo " ❌ Build failed for ${{ matrix.UE_IMAGE }}, see ${{ matrix.UE_IMAGE }}-UAT.log for more information"
exit 666
fi
Expand Down

0 comments on commit 778d511

Please sign in to comment.