Skip to content

Commit

Permalink
Fix handling of GITHUB_OUTPUT (#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpio committed Oct 19, 2022
1 parent 4fc3095 commit dfe1c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyter_releaser/util.py
Expand Up @@ -398,7 +398,7 @@ def actions_output(name, value):
"""Handle setting an action output on GitHub"""
log(f"\n\nSetting output {name}={value}")
if "GITHUB_OUTPUT" in os.environ:
with open("GITHUB_OUTPUT", "a") as fid:
with open(os.environ["GITHUB_OUTPUT"], "a") as fid:
fid.write(f"{name}={value}\n")


Expand Down

0 comments on commit dfe1c9f

Please sign in to comment.