diff --git a/README.md b/README.md index cc3b4b8..80c6af2 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ This repository contains GitHub Actions for use with [Preternatural CLI](https:/ # Actions ## `preternatural-build-action` -Runs the Preternatural CLI build command on your repositories. +Runs the Preternatural CLI build command on your repositories. The xcactivitylog steps are optional and will not stop the workflow if they fail. ```yaml - uses: PreternaturalAI/preternatural-build-action@v1 diff --git a/USING.md b/USING.md index df52c5d..cbcc997 100644 --- a/USING.md +++ b/USING.md @@ -13,7 +13,7 @@ This document catalogs the available Preternatural GitHub Actions and their usag ## Build Action -The Build Action runs Preternatural build commands on repositories with specified Xcode configurations. +The Build Action runs Preternatural build commands on repositories with specified Xcode configurations. The xcactivitylog steps are optional and will not stop the workflow if they fail. ### Build Action Inputs diff --git a/preternatural-build/action.yml b/preternatural-build/action.yml index a0dbe5e..2104db3 100644 --- a/preternatural-build/action.yml +++ b/preternatural-build/action.yml @@ -164,6 +164,7 @@ runs: - name: Find and copy all xcactivity logs if: failure() + continue-on-error: true shell: bash run: | DERIVED_DATA_PATH=${{ github.workspace }}/${{ inputs.derived_data_path }} @@ -191,12 +192,14 @@ runs: - name: Install xclogparser if: failure() + continue-on-error: true shell: bash run: | brew install xclogparser - name: Convert logs to JSON and print if: failure() + continue-on-error: true shell: bash run: | mkdir -p ./json_logs @@ -210,6 +213,7 @@ runs: - name: Upload xcactivity logs (JSON) if: failure() + continue-on-error: true uses: actions/upload-artifact@v4 with: name: xcactivity-logs-json @@ -218,6 +222,7 @@ runs: - name: Upload xcactivity logs (Raw) if: failure() + continue-on-error: true uses: actions/upload-artifact@v4 with: name: xcactivity-logs-raw