Update README.md #160
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: iOS | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
ios: | |
strategy: | |
matrix: | |
platform: [macos-latest] | |
node-version: [lts/*] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Changing to Java 8 | |
run: | | |
javac -version | |
export JAVA_HOME=`/usr/libexec/java_home -v 1.8` || echo OK | |
javac -version | |
- name: Install Apache Cordova | |
run: npm install -g cordova | |
- name: Add iOS Platform | |
run: | | |
cordova platform rm android | |
cordova platform add ios | |
- run: npm test | |
- name: Building APP | |
run: cordova build ios --release |