From c5696f5695c40e1316d70e24dd0def0f1fec1c1d Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 3 Apr 2022 03:26:06 +0200 Subject: [PATCH] Add uploading config.log artifact on CI failure --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6db0b87c..8566107e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,6 +74,12 @@ jobs: run: ./autogen.sh ; chmod -x INSTALL m4/*.m4 - name: configure run: ${{ matrix.configflags }} ./configure ${{ matrix.config }} + - name: Store the config + if: ${{ failure() }} + uses: actions/upload-artifact@v2 + with: + name: config-${{ matrix.sanitizer }}.log + path: config.log - name: make run: ${{ matrix.build_env }} make - name: make check