From 95c66b8ec023a12b6cd6c21701f0f3f624bf040d Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Sun, 2 Oct 2022 02:54:14 +0200 Subject: [PATCH] chore: upload failed logfile Signed-off-by: Stefan Dej --- .github/workflows/BuildImages.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/BuildImages.yml b/.github/workflows/BuildImages.yml index 16dee4b47..60bcab00c 100644 --- a/.github/workflows/BuildImages.yml +++ b/.github/workflows/BuildImages.yml @@ -56,6 +56,7 @@ jobs: - name: Copy output id: copy-image + if: always() shell: bash run: | source repository/src/config @@ -66,6 +67,13 @@ jobs: echo "::set-output name=image::$IMAGE" + - name: Upload failed Logfile + if: failure() + uses: actions/upload-artifact@v3 + with: + name: failed-${{ steps.copy-image.outputs.image }}.log + path: repository/src/workspace/build.log + - name: Compressing Image shell: bash run: |