Skip to content

Commit 74e8ac0

Browse files
authored
Update GitHub action to not use instruments to find device, just hardcode iPhone 13
1 parent 19ad857 commit 74e8ac0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@ jobs:
2424
REFRESH_TOKEN_ACCOUNT_ID: ${{ secrets.REFRESH_TOKEN_ACCOUNT_ID }}
2525
ANY_OTHER_ACCOUNT_ID: ${{ secrets.ANY_OTHER_ACCOUNT_ID }}
2626
NON_TEAM_MEMBER_ACCOUNT_ID: ${{ secrets.NON_TEAM_MEMBER_ACCOUNT_ID }}
27-
2827
platform: ${{ 'iOS Simulator' }}
28+
device: ${{ 'iPhone 13' }}
2929
run: |
30-
device=`instruments -s -devices | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'`
3130
xcodebuild -workspace TestObjectiveDropbox/TestObjectiveDropbox.xcworkspace/ -scheme TestObjectiveDropbox_iOS -sdk iphonesimulator \
3231
-destination "platform=$platform,name=$device" \
3332
FULL_DROPBOX_API_APP_KEY=$FULL_DROPBOX_API_APP_KEY \

0 commit comments

Comments
 (0)