We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86f2b4d commit 0ebbc0bCopy full SHA for 0ebbc0b
jupyter_releaser/util.py
@@ -395,10 +395,11 @@ def latest_draft_release(gh, branch=None):
395
396
397
def actions_output(name, value):
398
- "Print the special GitHub Actions `::set-output` line for `name::value`"
+ """Handle setting an action output on GitHub"""
399
log(f"\n\nSetting output {name}={value}")
400
- if "GITHUB_ACTIONS" in os.environ:
401
- log(f"::set-output name={name}::{value}")
+ if "GITHUB_ENV" in os.environ:
+ with open("GITHUB_ENV", "a") as fid:
402
+ fid.write(f"{name}={value}\n")
403
404
405
def get_latest_tag(source, since_last_stable=False):
0 commit comments