Skip to content

Commit 678262c

Browse files
authored
Merge branch 'main' into tomandersen/or_query
2 parents d6961a7 + 1adbf0a commit 678262c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/gha/test_simulator.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
import os
8181
import pathlib
8282
import platform
83+
import re
8384
import shutil
8485
import signal
8586
import subprocess
@@ -512,6 +513,8 @@ def _create_and_boot_simulator(apple_platform, device_name, device_os):
512513
# If the requested version is available, use it, otherwise default to the latest
513514
if (device_os not in available_versions):
514515
logging.warning("Unable to find version %s, will fall back to %s", device_os, available_versions[-1])
516+
if FLAGS.ci:
517+
print("::warning ::Unable to find %s version %s, will fall back to %s" % (apple_platform, device_os, available_versions[-1]))
515518
device_os = available_versions[-1]
516519

517520
args = ["xcodes", "runtimes", "install", "%s %s" % (apple_platform, device_os)]

0 commit comments

Comments
 (0)