Skip to content

Commit

Permalink
fix: ensure no /n in place
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Sep 29, 2023
1 parent e13d2f5 commit 2fbc182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
with open("maven.modules") as fp:
lines = fp.readlines()
for line in lines:
matrix['include'].append({"project": line})
matrix['include'].append({"project": line.strip()})
with open(os.environ.get('GITHUB_OUTPUT'), "a") as f:
f.write("maven-matrix={}\n".format(json.dumps(matrix)))
print(json.dumps(matrix))
Expand Down

0 comments on commit 2fbc182

Please sign in to comment.