From db85974f266593155369d488519824d83376bfb1 Mon Sep 17 00:00:00 2001 From: Syer10 Date: Tue, 22 Jun 2021 12:54:15 -0400 Subject: [PATCH] Upload logs on failure --- .github/workflows/Build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 16e0e172fc..ff15c50a27 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -102,6 +102,15 @@ jobs: build/compose/binaries/main/*/ build/compose/jars/ !build/compose/binaries/main/app/ + + # Upload runner errors + - name: Upload error logs + uses: actions/upload-artifact@v2 + if: ${{ failure() }} + with: + name: runner-errors-${{ matrix.runtime }} + path: | + build/compose/logs/ ReleaseBinaries: name: Make a release needs: [BuildBinaries]