Skip to content

Commit fd42d49

Browse files
committed
Update build.yml
1 parent 7256c6f commit fd42d49

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ jobs:
7878
7979
# 선택된 iOS 런타임에서 'iPhone'이 포함된 첫 번째 시뮬레이터 이름 선택
8080
DEVICE_NAME=$(xcrun simctl list devices available | awk -v ver="$IOS_VER" '
81-
$0 ~ "^== iOS " ver " ==" {in=1; next}
82-
$0 ~ "^== " {in=0}
83-
in && $0 ~ /^[[:space:]]/ && $0 ~ /iPhone/ {
81+
$0 ~ "^== iOS " ver " ==" {flag=1; next}
82+
$0 ~ "^== " {flag=0}
83+
flag && $0 ~ /^[[:space:]]/ && $0 ~ /iPhone/ {
8484
sub(/^[[:space:]]+/, "", $0)
8585
gsub(/ \(.*/, "", $0)
8686
print $0

0 commit comments

Comments
 (0)