From 60b4eef8f191a7638a8e39c9485528416eb327d6 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Thu, 5 Oct 2023 12:10:35 -0500 Subject: [PATCH] add build failures to artifacts --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cfd69d28a..d196f9b79 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,10 +76,12 @@ jobs: run: | ARTIFACT_NAME=${{ env.ARTIFACT_NAME }} TEST_RESULTS=$(find ~/Library/Developer/Xcode/DerivedData -name "*.xcresult") + BUILD_RESULTS=$(find ~/Library/Developer/Xcode/DerivedData -name "*.xcactivitylog") echo ARTIFACT_NAME=${ARTIFACT_NAME//:/-} >> $GITHUB_ENV # replace colon with dashes echo TEST_RESULTS=${TEST_RESULTS} >> $GITHUB_ENV echo "Artifact Name: $ARTIFACT_NAME" echo "Test Result Location: $TEST_RESULTS" + echo "Build Result Location: $BUILD_RESULTS" - name: Upload Artifact Logs if: ${{ failure() }} uses: actions/upload-artifact@v3 @@ -87,6 +89,7 @@ jobs: name: ${{ env.ARTIFACT_NAME }} path: | ~/Library/Developer/Xcode/DerivedData/Parse-*/Logs/Test + ~/Library/Developer/Xcode/DerivedData/**/Logs/Build - name: Upload Coverage uses: codecov/codecov-action@v3.1.1 with: