From c18c0cb47d244bb8a0caa151e0a67bddfeaada8c Mon Sep 17 00:00:00 2001 From: Anya Lin Date: Sun, 24 Nov 2024 14:16:21 +0800 Subject: [PATCH] Upload logs --- .github/workflows/compile.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index e43d06f42..69b320c5f 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -300,6 +300,13 @@ jobs: KEY_BUILD: ${{ env.USIGN_KEY }} V: 99 + - name: Upload error logs + if: ${{ failure() && steps.build_packags.conclusion == 'failure' }} + uses: actions/upload-artifact@v4 + with: + name: error-logs-${{ hashFiles('**/Makefile') }} + path: /workdir/logs + - name: Checkout Packages id: checkout_packags shell: bash