We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e92ccac commit 503ae5dCopy full SHA for 503ae5d
.github/workflows/upload-release-assets-mochi-physx.yml
@@ -28,14 +28,14 @@ jobs:
28
// throw "Missing release asset upload URL!";
29
//}
30
31
- function uploadAssets(directoryPath) {
+ async function uploadAssets(directoryPath) {
32
for (let filePath of await fs.readdir(directoryPath)) {
33
filePath = path.join(directoryPath, filePath);
34
const stats = await fs.stat(filePath);
35
36
if (stats.isDirectory()) {
37
- console.log(`Entering directory '${filePath}'`);
38
- uploadAssets(filePath);
+ console.log(`Entering '${filePath}'`);
+ await uploadAssets(filePath);
39
continue;
40
}
41
@@ -52,4 +52,4 @@ jobs:
52
53
54
55
- uploadAssets('.');
+ await uploadAssets('.');
0 commit comments