Update buildnw.yml

This commit is contained in:
Lennon McLean 2021-08-16 20:07:31 -04:00 committed by GitHub
parent 16c76820f6
commit f0e1d56113
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 7 deletions

View File

@ -13,17 +13,14 @@ jobs:
with:
ref: ios
- name: Install Cordova and other Cordova programs
run: npm install cordova cordova-icon -g
- name: Install prerequisites
run: npm install cordova cordova-icon -g && xcversion simulators --install=iPhone-7
- name: Add iOS platform
run: cordova platform add ios && cd platforms/ios/cordova && npm install ios-sim@latest
- name: List available platforms
run: cordova run --list
run: cordova platform add ios
- name: Build iOS app
run: cordova build ios --target iPhone-8
run: cordova build ios --target iPhone-7
- name: Make .ipa Archive
run: cd platforms/ios/build/emulator && mkdir Payload && mv Kitsune.app Payload && zip -r kitsune-ios.ipa Payload