Action: Change way of attempting to get the needed NDK

This commit is contained in:
jobobby04 2020-05-09 20:30:45 -04:00 committed by GitHub
parent 29c5da1494
commit 6ec656b094
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,19 +17,21 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Android NDK toolchain Setup
uses: ravinderjangra/android-ndk-toolchain-setup@0.2
with:
- name: Get NDK
run: sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;20.0.5594570"
#- name: Android NDK toolchain Setup
#uses: ravinderjangra/android-ndk-toolchain-setup@0.2
#with:
# Android API
api: 20 # default is 21
#api: 20 # default is 21
# Platform arch
arch: x86
#arch: x86
# Path to use for NDK toolchain
install-location: toolchains
#install-location: toolchains
# Force install toolchain
force: true # optional, default is false
#force: true # optional, default is false
# Add toolchain to the path
add-to-path: true # optional, default is true
#add-to-path: true # optional, default is true
- name: Create google-services.json
uses: finnp/create-file-action@1.0.0
env: