mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 15:42:39 +08:00
add time for fetch RAL workflow (#9014)
* add time for fetch RAL workflow * update
This commit is contained in:
@@ -137,8 +137,10 @@ async function removeDir (dirPath) {
|
||||
|
||||
(async () => {
|
||||
try {
|
||||
console.time('Fetch RAL');
|
||||
if (checkFile() && matchCommit()) {
|
||||
console.log('Skip fetching ral!\n');
|
||||
console.timeEnd('Fetch RAL');
|
||||
process.exit(0);
|
||||
}
|
||||
await cleanOldRal();
|
||||
@@ -151,6 +153,7 @@ async function removeDir (dirPath) {
|
||||
copyRal();
|
||||
writeLocalCommitFile();
|
||||
await removeDir(repositoryPath);
|
||||
console.timeEnd('Fetch RAL');
|
||||
process.exit(0);
|
||||
} catch (err) {
|
||||
console.error('Fetch ral failed', err);
|
||||
|
||||
Reference in New Issue
Block a user