]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Upload build log for pkgcheck CI when fails.
authorNathan Moinvaziri <nathan@nathanm.com>
Tue, 23 Feb 2021 05:41:43 +0000 (21:41 -0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Fri, 26 Feb 2021 08:30:01 +0000 (09:30 +0100)
.github/workflows/pkgcheck.yml

index add17d5653e5727fec207328bdeb1c2566369381..c74e41aec9ef7443fd3e216299522a92d9ea6bf6 100644 (file)
@@ -131,3 +131,17 @@ jobs:
         CMAKE_ARGS: ${{ matrix.cmake-args }}
         CONFIGURE_ARGS: ${{ matrix.configure-args }}
         LDFLAGS: ${{ matrix.ldflags }}
+
+    - name: Upload build errors
+      uses: actions/upload-artifact@v2
+      if: failure()
+      with:
+        name: ${{ matrix.name }}
+        path: |
+          btmp1/configure.log
+          btmp1/CMakeFiles/CMakeOutput.log
+          btmp1/CMakeFiles/CMakeError.log
+          btmp2/configure.log
+          btmp2/CMakeFiles/CMakeOutput.log
+          btmp2/CMakeFiles/CMakeError.log
+        retention-days: 30