Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
glandium committed Jan 27, 2025
1 parent 155c388 commit c83cc43
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CI/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,9 @@ def run_task(task, cwd, out=None, cache=None, recurse=True):


def print_output(name, value):
value = json.dumps(value, separators=(',', ':'), indent=4)
print(f"{name}<<EOF\n{value}\nEOF")
if not isinstance(value, str):
value = json.dumps(value, separators=(',', ':'))
print(f"{name}={value}")


def main():
Expand Down

0 comments on commit c83cc43

Please sign in to comment.