From 012dfe49304f47ca524fbf2850bbbc610591a596 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=9F=E6=88=98?= <40414978+PatriceJiang@users.noreply.github.com> Date: Thu, 9 Jun 2022 16:14:08 +0800 Subject: [PATCH] ndk 21 (#11432) --- .github/workflows/native-linter-android.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/native-linter-android.yml b/.github/workflows/native-linter-android.yml index 11fd6c6326..40789bf2c4 100644 --- a/.github/workflows/native-linter-android.yml +++ b/.github/workflows/native-linter-android.yml @@ -28,9 +28,16 @@ jobs: run: | EXT_VERSION=`node ./.github/workflows/get-native-external-version.js` git clone --branch $EXT_VERSION --depth 1 https://github.com/cocos-creator/engine-native-external native/external - + - uses: nttld/setup-ndk@v1 + id: setup-ndk + with: + ndk-version: r21e + add-to-path: false - name: Generate bindings shell: bash + env: + ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }} + run: | python -V cd ./native/tools/tojs