-
Notifications
You must be signed in to change notification settings - Fork 5
37 lines (34 loc) · 1.05 KB
/
app.yml
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
name: Build App
on:
push:
pull_request:
jobs:
build:
runs-on: [ubuntu-22.04, ubuntu-20.04, ubuntu-18.04]
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Setup Ionic
uses: coturiv/[email protected]
- name: Set up python
uses: actions/setup-python@v2
with:
python-version: '3.8'
# - name: Set up JDK 1.8
# uses: actions/setup-java@v1
# with:
# java-version: 1.8
- name: Setup Android SDK
uses: android-actions/setup-android@v2
# - name: Install build-tools
# run: (echo y; echo y; echo y;) | sdkmanager "build-tools;28.0.3"
- name: Use build-tools 30
run: |
sdkmanager --uninstall "build-tools;32.0.0"
sdkmanager --uninstall "build-tools;31.0.0"
- name: Build
run: |
./ToolChains/bin/build all -pf android --build
ls -l App/platforms/android/app/build/outputs/apk/debug