File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -50,17 +50,21 @@ jobs:
5050 run : npm run build
5151
5252 - name : Install Cordova CLI
53+ env :
54+ CORDOVA_VERSION : " 11"
5355 run : |
5456 mkdir ~/.npm-global
5557 npm config set prefix '~/.npm-global'
5658 export PATH=~/.npm-global/bin:$PATH
57- npm install cordova@10 -g
59+ npm install cordova@$CORDOVA_VERSION -g
5860
5961 - name : Create Cordova app, install plugin then build app
62+ env :
63+ CORDOVA_IOS_VERSION : " latest"
6064 run : |
6165 npm config set prefix '~/.npm-global'
6266 export PATH=~/.npm-global/bin:$PATH
6367 cd ..; cordova create myApp org.apache.cordova.myApp myApp; cd myApp;
64- cordova platform add ios@latest --verbose
68+ cordova platform add ios@$CORDOVA_IOS_VERSION --verbose
6569 cordova plugin add ../cordova-plugin-iosrtc --verbose
6670 cordova build ios --verbose
You can’t perform that action at this time.
0 commit comments