Fix GitHub Actions for sample build (#1693)

Summary:
Honestly not sure what's causing the new NDK to be pulled in
but at least locally installing it fixes the failure we see here:

https://github.com/facebook/flipper/runs/1424681947

Pull Request resolved: https://github.com/facebook/flipper/pull/1693

Test Plan: Wait for the Actions on the PR

Reviewed By: nikoant

Differential Revision: D25093335

Pulled By: passy

fbshipit-source-id: e7af63fcf3c5270c869acc3d094234d15968aeda
This commit is contained in:
Pascal Hartig
2020-11-19 12:24:03 -08:00
committed by Facebook GitHub Bot
parent 8b5220d8b3
commit 51de9b72cf
2 changed files with 4 additions and 4 deletions

View File

@@ -13,8 +13,8 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Install NDK 20
run: echo "y" | sudo /usr/local/lib/android/sdk/tools/bin/sdkmanager --install "ndk;20.0.5594570" --sdk_root=${ANDROID_SDK_ROOT}
- name: Install NDK 21
run: echo "y" | sudo /usr/local/lib/android/sdk/tools/bin/sdkmanager --install "ndk;21.0.6113669" --sdk_root=${ANDROID_SDK_ROOT}
- name: Build with Gradle
run: ./gradlew :sample:assembleDebug :tutorial:assembleDebug
- name: upload artifact

View File

@@ -15,8 +15,8 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Install NDK 20
run: echo "y" | sudo /usr/local/lib/android/sdk/tools/bin/sdkmanager --install "ndk;20.0.5594570" --sdk_root=${ANDROID_SDK_ROOT}
- name: Install NDK 21
run: echo "y" | sudo /usr/local/lib/android/sdk/tools/bin/sdkmanager --install "ndk;21.0.6113669" --sdk_root=${ANDROID_SDK_ROOT}
- name: Build with Gradle
run: ./gradlew :sample:assembleDebug :sample:assembleRelease
- name: Rename apk