Skip to content

Commit

Permalink
force string output
Browse files Browse the repository at this point in the history
  • Loading branch information
mickahell committed Jul 27, 2023
1 parent ee675cd commit 3132e39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecosystem/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def set_actions_output(outputs: List[Tuple[str, Union[str, bool, float, int]]])
logger.info("Setting output variable %s: %s", name, value)
if "CI" in os.environ:
with open(os.environ["GITHUB_OUTPUT"], "a") as github_env:
github_env.write(f"{name}={value}\n")
github_env.write(f"{name}={str(value)}\n")
else:
# Used only during unit tests
print(f"{name}={value}")

0 comments on commit 3132e39

Please sign in to comment.