fix doc error: url error #140
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
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 | |