Skip to content

Commit 1023f3f

Browse files
committed
fix(ci): 👷 changed grep for watchos build, considering only uuid lowercase + uppercase
1 parent e90f768 commit 1023f3f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/build-watchos.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ jobs:
2525
grep "Apple Watch" | \
2626
grep "watchOS Simulator" | \
2727
grep -m1 -oE '[a-fA-F0-9-]{36}')
28+
29+
if [ -z "$WATCH_SIMULATOR_ID" ]; then
30+
echo "No watchOS simulator found"
31+
exit 1
32+
fi
2833
2934
echo "WATCH_SIMULATOR_ID=$WATCH_SIMULATOR_ID" >> $GITHUB_ENV
3035
echo "Using watchOS simulator: $WATCH_SIMULATOR_ID"

0 commit comments

Comments
 (0)