fix(release): print Xcode Cloud action issues when a run fails
Cloud archive #50 failed without an issue summary. Dump action issues and any attached App Store Connect builds so the next retry can be diagnosed.
This commit is contained in:
1 parent
a597673472
commit
ac142b2af5
3 files changed
+63
No files matched your search
@@ -11,6 +11,7 @@ on:
|
||||
- inspect
|
||||
- start
|
||||
- monitor
|
||||
- describe
|
||||
- store-status
|
||||
default: inspect
|
||||
workflow_id:
|
||||
@@ -68,6 +69,14 @@ jobs:
|
||||
fi
|
||||
python3 scripts/xcode-cloud-control.py "${args[@]}"
|
||||
;;
|
||||
describe)
|
||||
if [[ -z "$XCODE_CLOUD_BUILD_RUN_ID" ]]; then
|
||||
echo "::error::build_run_id is required in describe mode"
|
||||
exit 1
|
||||
fi
|
||||
python3 scripts/xcode-cloud-control.py describe \
|
||||
--build-run-id "$XCODE_CLOUD_BUILD_RUN_ID"
|
||||
;;
|
||||
monitor)
|
||||
if [[ -z "$XCODE_CLOUD_BUILD_RUN_ID" ]]; then
|
||||
echo "::error::build_run_id is required in monitor mode"
|
||||
|
||||
Reference in new issue
Block a user