mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 16:52:43 +08:00
specify android ndk version (#11425)
This commit is contained in:
@@ -20,9 +20,15 @@ jobs:
|
||||
npm install
|
||||
npm install gulp -g
|
||||
node ./utils/download-deps.js
|
||||
|
||||
- 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 -m pip install PyYAML==5.4.1 Cheetah3
|
||||
python ./tools/tojs/genbindings.py
|
||||
@@ -58,8 +64,15 @@ jobs:
|
||||
npm install gulp -g
|
||||
node ./utils/download-deps.js
|
||||
|
||||
- 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 -m pip install PyYAML==5.4.1 Cheetah3
|
||||
python ./tools/tojs/genbindings.py
|
||||
|
||||
Reference in New Issue
Block a user