Skip to content

Commit 56d5bd5

Browse files
committed
fix: Fix CI
1 parent 4edda87 commit 56d5bd5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Discover submodules
3030
id: discover-submodules
3131
run: |
32-
node ./scripts/discover-submodules.js
32+
node ./scripts/discover-submodules.js > submodules.json
3333
echo "::set-output name=submodule-matrix::$(cat submodules.json)" # Set the output here
3434
3535
echo "Submodule matrix:"

scripts/discover-submodules.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
const { execSync } = require('child_process');
2-
const fs = require('fs');
32

43
let json = [];
54

@@ -20,4 +19,4 @@ catch (error) {
2019
console.error('Error processing submodules:', error);
2120
}
2221

23-
fs.writeFileSync('submodules.json', JSON.stringify(json, null, 4));
22+
console.log(JSON.stringify(json, null, 4));

0 commit comments

Comments
 (0)