]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
Workflow build: upload `config.log` and other log files. 4168/head
authorFlorian Forster <octo@collectd.org>
Sat, 25 Nov 2023 19:39:29 +0000 (20:39 +0100)
committerFlorian Forster <octo@collectd.org>
Sat, 25 Nov 2023 19:43:44 +0000 (20:43 +0100)
.github/workflows/build.yml

index 3aef3cdf354b6e0bbd014fccc05645679ee19c2f..b0738dbc0673c860b0a6600dfaf72fdc07682f11 100644 (file)
@@ -49,6 +49,11 @@ jobs:
         ./build.sh
     - name: Run configure script
       run: ./configure $CONFIGURE_FLAGS
+    - name: Upload config.log
+      uses: actions/upload-artifact@v3
+      with:
+        name: ${{ matrix.container_tag }}
+        path: config.log
     - name: Build collectd
       run: make -j$(nproc) -sk
     - name: Run make check
@@ -56,11 +61,11 @@ jobs:
         make $MAKEFLAGS check
         echo "$?" >make-check.status
       continue-on-error: true
-    - name: Dump test logs
+    - name: Upload log files
       uses: actions/upload-artifact@v3
       with:
-        name: ${{ matrix.container_tag }} test log
-        path: test-suite.log
+        name: ${{ matrix.container_tag }}
+        path: "*.log"
     - name: Report check status
       run: exit $(< make-check.status)
 
@@ -97,6 +102,11 @@ jobs:
         ./build.sh
     - name: Run configure script
       run: ./configure $CONFIGURE_FLAGS
+    - name: Upload config.log
+      uses: actions/upload-artifact@v3
+      with:
+        name: ${{ matrix.container_tag }}
+        path: config.log
     - name: Build collectd
       run: make -j$(nproc) -sk
     - name: Run make check
@@ -104,10 +114,10 @@ jobs:
         make $MAKEFLAGS check
         echo "$?" >make-check.status
       continue-on-error: true
-    - name: Dump test logs
+    - name: Upload log files
       uses: actions/upload-artifact@v3
       with:
-        name: ${{ matrix.container_tag }} test log
-        path: test-suite.log
+        name: ${{ matrix.container_tag }}
+        path: "*.log"
     - name: Report check status
       run: exit $(< make-check.status)