-
Notifications
You must be signed in to change notification settings - Fork 63
Main test action #369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Main test action #369
Conversation
workflow/update-repo.js
Outdated
| console.log(`clone branch: ${branch}`); | ||
| this.execCommand(`git clone --branch ${branch} ${repo} ${targetDir}`); | ||
| } else if (tag) { | ||
| console.log(`切换到标签: ${tag}`); | ||
| this.execCommand(`git checkout ${tag}`, targetDir); | ||
| console.log(`clone tag: ${tag}`); | ||
| this.execCommand(`git clone --branch ${tag} --depth 1 ${repo} ${targetDir}`); | ||
| } else { | ||
| console.log(`clone repository without specific branch or tag`); | ||
| this.execCommand(`git clone ${repo} ${targetDir}`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Speed up github action by reducing cloning time.
| { | ||
| "engine": { | ||
| "repo": "git@github.com:cocos/cocos4.git", | ||
| "repo": "https://github.com/cocos/cocos4.git", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cannot use ssh on github action
| it('查询 internal 目录下 ccType = cc.SceneAsset 资源', async () => { | ||
| const allScenes = await assetManager.queryAssetInfos({ ccType: 'cc.SceneAsset', pattern: 'db://internal/**/*' }); | ||
| expect(allScenes.length).toBe(3); | ||
| expect(allScenes.length).toBe(6); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Internal scenes increased to 6.
| console.log(`开始构建${forceUpdate ? ' (强制更新)' : ''}...`); | ||
| // compiler engine | ||
| await utils.runCommand('node', ['./workflow/compiler-engine.js', forceFlag].filter(Boolean)); | ||
| await utils.runCommand('node', ['--max-old-space-size=8192', './workflow/compiler-engine.js', forceFlag].filter(Boolean)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix node out of memory when compiling engine.
|
Fix #361 tag v3.8.8-2 |
# Conflicts: # repo.json
e807d0b to
6de9a03
Compare
Removed HTTP and HTTPS proxy input configurations from the setup action.
No description provided.