diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index b9746248f..34dabb64e 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -46,3 +46,9 @@ jobs: env: SUDO: sudo TEST_SSH_UNSAFE_PERMISSIONS: 1 + - name: save regress logs + if: failure() + uses: actions/upload-artifact@v2 + with: + name: ${{ matrix.os }}-${{ matrix.configs }}-regress-logs + path: regress/*.log