Mercurial > public > lazybear
changeset 365:540a56b70f67
Update ios.yml
committer: GitHub <noreply@github.com>
author | Dennis C. M. <dennis@denniscm.com> |
---|---|
date | Fri, 16 Apr 2021 19:30:47 +0200 |
parents | 2874ce01e46e |
children | 3f59db6989c6 |
files | .github/workflows/ios.yml |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/.github/workflows/ios.yml Fri Apr 16 19:26:33 2021 +0200 +++ b/.github/workflows/ios.yml Fri Apr 16 19:30:47 2021 +0200 @@ -25,7 +25,7 @@ scheme: ${{ 'default' }} platform: ${{ 'iOS Simulator' }} run: | - device=iPhone 11 + device=`instruments -s -devices | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'` if [ $scheme = default ]; then scheme=$(cat default); fi if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi file_to_build=`echo $file_to_build | awk '{$1=$1;print}'`