From c676480e5fbca53eeaa8298f24ae620c2674f9b8 Mon Sep 17 00:00:00 2001 From: past-due <30942300+past-due@users.noreply.github.com> Date: Wed, 9 Dec 2020 13:43:56 -0500 Subject: [PATCH] GitHub Actions: Output full dependency build logs (on failure) --- .github/workflows/CI.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3ad2e78c..bd8c2206 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -66,13 +66,20 @@ jobs: run: | ./fetchDependencies -v --no-parallel-build --${{ matrix.platform }} + - name: Output Dependency Build Logs on Failure + if: failure() + run: cat "dependenciesbuild.log" + - name: Build MoltenVK run: | make ${{ matrix.platform }} - - name: Output Build Logs on Failure + - name: Output MoltenVK Build Logs on Failure if: failure() - run: cat "xcodebuild.log" + run: | + if [ -f "xcodebuild.log" ]; then + cat "xcodebuild.log" + fi - name: Tar Artifacts # See: https://github.com/actions/upload-artifact#maintaining-file-permissions-and-case-sensitive-files