mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-08-29 10:09:26 +02:00
ci: fix intermittent ios preview build failure
This commit is contained in:
12
.github/workflows/ios.preview.build.yml
vendored
12
.github/workflows/ios.preview.build.yml
vendored
@@ -42,10 +42,16 @@ jobs:
|
||||
with:
|
||||
xcode-version: "26.1.1"
|
||||
|
||||
- name: Setup iOS Platform
|
||||
- name: Ensure iOS SDK is available
|
||||
run: |
|
||||
xcodebuild -downloadPlatform iOS -exportPath ~/Downloads
|
||||
xcodebuild -importPlatform ~/Downloads/iphonesimulator_26.1_23B86.dmg
|
||||
set -euo pipefail
|
||||
if xcodebuild -showsdks | grep -q iphoneos; then
|
||||
echo "iOS device SDK present:"
|
||||
xcodebuild -showsdks | grep iphoneos
|
||||
else
|
||||
echo "iOS device SDK missing; downloading platform..."
|
||||
xcodebuild -downloadPlatform iOS
|
||||
fi
|
||||
|
||||
- name: Install node modules
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user