File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -128,8 +128,9 @@ jobs:
128
128
if : ${{ matrix.targetPlatform == 'StandaloneOSX' }}
129
129
run : |
130
130
security list-keychains
131
- security default-keychain -s ~/Library/Keychains/login.keychain-db
132
131
security delete-keychain temporary
132
+ security default-keychain -s ~/Library/Keychains/login.keychain-db
133
+ security list-keychains -d user -s ~/Library/Keychains/login.keychain-db
133
134
security list-keychains
134
135
test-ios :
135
136
name : Run iOS UI tests 🧪
Original file line number Diff line number Diff line change @@ -58,10 +58,18 @@ echo "Building app..."
58
58
-allowProvisioningUpdates \
59
59
-derivedDataPath " $( pwd) /build/output/iOS/DerivedData"
60
60
61
+ # Check if xcodebuild was successful
62
+ if [ $? -ne 0 ]; then
63
+ echo " Xcode build failed. Exiting script."
64
+ exit 1
65
+ fi
66
+
61
67
mkdir -p " $( pwd) /build/output/iOS/IPA/Payload"
62
68
63
69
mv " $( pwd) /build/output/iOS/DerivedData/Build/Products/ReleaseForRunning-iphoneos/ImmutableSample.app" " $( pwd) /build/output/iOS/IPA/Payload"
64
70
65
71
pushd " $( pwd) /build/output/iOS/IPA" && zip -r Payload.zip Payload && popd
66
72
67
- mv " $( pwd) /build/output/iOS/IPA/Payload.zip" " $( pwd) /Tests/test/ios/Payload.ipa"
73
+ mv " $( pwd) /build/output/iOS/IPA/Payload.zip" " $( pwd) /Tests/test/ios/Payload.ipa"
74
+
75
+ echo " Build completed successfully."
You can’t perform that action at this time.
0 commit comments