forked from cocos/cocos-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'v3.6.0' into develop_merge_v3.6
- Loading branch information
Showing
3,327 changed files
with
152,932 additions
and
96,337 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
const path = require('path'); | ||
const fs = require('fs'); | ||
|
||
const configJsonPath = path.join(__dirname, '../../native/external-config.json'); | ||
const configData = fs.readFileSync(configJsonPath); | ||
const config = JSON.parse(configData); | ||
const externalVersion = config.from.checkout; | ||
console.log(externalVersion); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,9 @@ name: <Native> Glue | |
on: | ||
pull_request_target: | ||
types: [closed] | ||
paths: | ||
- 'templates/**' | ||
- 'native/**' | ||
|
||
jobs: | ||
generate-jsb: | ||
|
@@ -12,11 +15,17 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- name: Download external libraries | ||
run: | | ||
EXT_VERSION=`grep version native/external-config.json |awk -F'"' '{print $4}'` | ||
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 | ||
rm -rf native/external/.git | ||
- uses: nttld/setup-ndk@v1 | ||
id: setup-ndk | ||
with: | ||
ndk-version: r21e | ||
add-to-path: false | ||
- name: Run genbindings.py | ||
env: | ||
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }} | ||
run: | | ||
python3 -m pip install PyYAML==5.4.1 Cheetah3 | ||
python3 ./native/tools/tojs/genbindings.py | ||
|
@@ -34,6 +43,7 @@ jobs: | |
title: '[ci skip][AUTO]: Automated PR to generate code' | ||
body: | | ||
Automated PR to genbindings & built resources | ||
[X] does not change any runtime related code or build configuration | ||
committer: cocos-robot <[email protected]> | ||
author: cocos-robot <[email protected]> | ||
commit-message: "[ci skip][AUTO]: Automated code generating update: ${{ github.event.pull_request.head.sha }} (#${{ github.event.number }})" | ||
|
@@ -42,7 +52,6 @@ jobs: | |
branch: t/bot/genbindings | ||
branch-suffix: short-commit-hash | ||
delete-branch: true | ||
milestone: 1 | ||
|
||
#- name: Make PR | ||
# run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.