From 9aca252b1a74981dbad4e860d4ab6a2b83ad605f Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sat, 25 Nov 2023 20:39:29 +0100 Subject: [PATCH] Workflow build: upload `config.log` and other log files. --- .github/workflows/build.yml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3aef3cdf354..990ba0c5ad1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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)