-
Notifications
You must be signed in to change notification settings - Fork 11
47 lines (43 loc) · 1.43 KB
/
main.yml
File metadata and controls
47 lines (43 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Build example app
on: [push]
jobs:
build_android:
name: Build Android example app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install tabris-cli
run: sudo npm install -g tabris-cli
- name: Build Tabris app in ".example"
env:
TABRIS_BUILD_KEY: ${{ secrets.TABRIS_BUILD_KEY }}
ANDROID_API_KEY: ${{ secrets.ANDROID_API_KEY }}
run: |
cd .example
sudo -E tabris build android
- name: Archive build Android app .apk
uses: actions/[email protected]
with:
name: tabris-plugin-maps-example-android
path: .example/build/cordova/platforms/android/app/build/outputs/apk/debug/app-debug.apk
build_ios:
name: Build iOS example app
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 'x'
- name: Install tabris-cli
run: sudo npm install -g tabris-cli
- name: Build Tabris app in ".example"
env:
TABRIS_BUILD_KEY: ${{ secrets.TABRIS_BUILD_KEY }}
run: |
cd .example
sudo -E tabris build ios
- name: Archive build iOS .app
uses: actions/[email protected]
with:
name: tabris-plugin-maps-example-ios
path: ".example/build/cordova/platforms/ios/build/emulator/Tabris.js Maps Plugin Example.app"