Browse Source

More error logs on CI failure

Signed-off-by: Steffen Jaeckel <[email protected]>
Steffen Jaeckel 2 years ago
parent
commit
acec8a5c3e
1 changed files with 7 additions and 5 deletions
  1. 7 5
      .github/workflows/main.yml

+ 7 - 5
.github/workflows/main.yml

@@ -71,14 +71,16 @@ jobs:
       - name: regular logs
       - name: regular logs
         if: ${{ !failure() }}
         if: ${{ !failure() }}
         run: |
         run: |
-          cat gcc_1.txt
-          cat gcc_2.txt
+          cat gcc_1.txt || true
+          cat gcc_2.txt || true
       - name: error logs
       - name: error logs
         if: ${{ failure() }}
         if: ${{ failure() }}
         run: |
         run: |
-          cat test_std.txt
-          cat test_err.txt
-          cat tv.txt
+          cat gcc_1.txt || true
+          cat gcc_2.txt || true
+          cat test_std.txt || true
+          cat test_err.txt || true
+          cat tv.txt || true
       - name: pack build directory
       - name: pack build directory
         if: ${{ failure() }}
         if: ${{ failure() }}
         run: |
         run: |