-
Notifications
You must be signed in to change notification settings - Fork 200
45 lines (36 loc) · 1.06 KB
/
AndroidRelease.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
38
39
40
41
42
43
44
name: Android Release
on:
push:
branches: [ release/* ]
pull_request:
branches: [ release/* ]
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- shell: bash
run: mkdir ~/android-env/
- name: specify NDK
run: |
wget -q "https://dl.google.com/android/repository/android-ndk-r14b-linux-x86_64.zip"
unzip -q android-ndk-r14b-linux-x86_64.zip -d ~/android-env/
- 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: Build Android sdk
run: |
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
echo "y" | sudo apt-get install tree
export ANDROID_NDK=~/android-env/android-ndk-r14b
. setup.env
build_Android
- name: Upload SDK
uses: actions/upload-artifact@v2
with:
name: AndroidSDK
path: output