GitHub Actions: Output full dependency build logs (on failure)

This commit is contained in:
past-due 2020-12-09 13:43:56 -05:00
parent 7a92c39a77
commit c676480e5f

View File

@ -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