From: Florian Forster Date: Sat, 25 Nov 2023 19:39:29 +0000 (+0100) Subject: Workflow build: upload `config.log` and other log files. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c3f90f2e57c0916a5826eaafce707066cad4018f;p=thirdparty%2Fcollectd.git Workflow build: upload `config.log` and other log files. --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3aef3cdf3..b0738dbc0 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)