Skip to content

Commit

Permalink
set different appium version
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera committed Jul 18, 2024
1 parent 092be19 commit bd3ae01
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,13 @@ phases:
# - npm install -g appium@2.1.3;
# Note that, for iOS devices, Appium 2 is only supported on iOS version 14 and above using
# NodeJS version 16 and above.
- avm 1.22.2
- |-
if printf "%s\n" "14.5" "$DEVICEFARM_DEVICE_OS_VERSION" |sort -VC;
then
avm 2.2.1;
else
avm 1.22.2;
fi;
- appium --version
# make sure install xcuitest
- appium driver install xcuitest
Expand Down

0 comments on commit bd3ae01

Please sign in to comment.