From 9cf5bf1f67b3d9d4c94aa60efb02d55fcdcc967e Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 10 Oct 2020 16:43:52 -0400 Subject: [PATCH] Remove NDK installation, use caching for Gradle step --- .github/workflows/build_app.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_app.yml b/.github/workflows/build_app.yml index f1f184e..010773b 100644 --- a/.github/workflows/build_app.yml +++ b/.github/workflows/build_app.yml @@ -36,13 +36,16 @@ jobs: uses: actions/setup-java@v1 with: java-version: 1.8 - - name: Get NDK - run: sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;21.0.6113669" &> /dev/null - name: Set up keystore run: mkdir -p ~/.android/ && echo "${{ secrets.DEBUG_KEYSTORE }}" | base64 --decode > ~/.android/debug.keystore - name: Build APK - run: bash ./gradlew clean assembleStandardDebug + uses: eskatos/gradle-command-action@v1 + with: + arguments: assembleStandardDebug + wrapper-cache-enabled: true + dependencies-cache-enabled: true + configuration-cache-enabled: true - name: Set COMMIT_COUNT run: echo "::set-env name=COMMIT_COUNT::$(git rev-list --count HEAD)" - name: Set CURRENT_SHA