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