Skip to content

Commit d5d6e66

Browse files
author
Jeevan Revaneppa Hirethanad
committed
ensure generate_matrix.py outputs valid JSON for fromJSON() and fix YAML upload indentation
1 parent 06550d8 commit d5d6e66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/scripts/generate_matrix.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ def main():
2727
for board in boards:
2828
rows.append({
2929
"app": app,
30-
"board": board,
30+
"board": board
3131
})
3232

3333
if not rows:
3434
# Avoid empty matrix which makes Actions error out
35-
rows = {"app":"noop","board":"noop"}
35+
rows = [{"app":"noop","board":"noop"}]
3636

3737
matrix = {"include": rows}
3838
print(json.dumps(matrix, indent=2))

0 commit comments

Comments
 (0)