Skip to content

Commit

Permalink
Correct android setup-ndk config
Browse files Browse the repository at this point in the history
Signed-off-by: kexuan.yang <kexuan.yang@gmail.com>
  • Loading branch information
yangkx1024 committed Oct 20, 2024
1 parent d76f2a5 commit 49e571a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,14 @@ jobs:
- uses: actions/checkout@v4

- uses: nttld/setup-ndk@v1
id: setup-ndk
with:
ndk-version: r27
local-cache: 'true'
add-to-path: false
local-cache: true

- run: ls ${{ steps.setup-ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/

- run: ./build_android.sh
env:
ANDROID_NDK_TOOLCHAINS_PATH: ${{ steps.setup-ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/linux-x86_64/bin
Expand Down

0 comments on commit 49e571a

Please sign in to comment.