Skip to content

Commit

Permalink
Fix android build
Browse files Browse the repository at this point in the history
  • Loading branch information
domchen committed Nov 29, 2023
1 parent 68465c0 commit fdd47f7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,13 @@ jobs:
cache: 'gradle'

- name: Build Android
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
run: |
cd android
echo "ndk.dir=$ANDROID_NDK_HOME" >> local.properties
NDK_PATH="${{ steps.setup-ndk.outputs.ndk-path }}"
NDK_PATH="${NDK_PATH//\\//}"
echo "ndk.dir=$NDK_PATH" >> local.properties
./gradlew assembleRelease -Parm64-only
shell: bash

- name: Save Third-Party Cache
if: ${{ (github.event_name == 'push') && (steps.third-party-cache.outputs.cache-hit != 'true') }}
Expand Down

0 comments on commit fdd47f7

Please sign in to comment.