Skip to content

Commit

Permalink
Use print, not f.write
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola committed Jul 29, 2024
1 parent f1729cb commit a98baf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,5 @@ def pip_install(*packages):
print(proc.stdout, end="")

with Path(os.environ["GITHUB_OUTPUT"]).open("a") as f:
f.write(f"exitcode={proc.returncode}\n")
print(f"exitcode={proc.returncode}", file=f)
sys.exit(proc.returncode)

0 comments on commit a98baf0

Please sign in to comment.