Skip to content

Commit 6731451

Browse files
authored
Add a GitHub log to the iOS simulator logic (#775)
1 parent 11c0fdd commit 6731451

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/gha/test_simulator.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,8 @@ def _create_and_boot_simulator(apple_platform, device_name, device_os):
407407
# If the requested version is available, use it, otherwise default to the latest
408408
if (device_os not in available_versions):
409409
logging.warning("Unable to find version %s, will fall back to %s", device_os, available_versions[-1])
410+
if FLAGS.ci:
411+
print("::warning ::Unable to find %s version %s, will fall back to %s" % (apple_platform, device_os, available_versions[-1]))
410412
device_os = available_versions[-1]
411413

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

0 commit comments

Comments
 (0)