Skip to content

Commit 7977e0e

Browse files
authored
Fix variable name for GitHub output (#444)
1 parent a966e00 commit 7977e0e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ jobs:
128128
- test
129129
- docs
130130
- pre-commit
131+
- check_local_actions
132+
- generate-changelog
131133
runs-on: ubuntu-latest
132134
steps:
133135
- name: Decide whether the needed jobs succeeded or failed

jupyter_releaser/util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,8 +397,8 @@ def latest_draft_release(gh, branch=None):
397397
def actions_output(name, value):
398398
"""Handle setting an action output on GitHub"""
399399
log(f"\n\nSetting output {name}={value}")
400-
if "GITHUB_ENV" in os.environ:
401-
with open("GITHUB_ENV", "a") as fid:
400+
if "GITHUB_OUTPUT" in os.environ:
401+
with open("GITHUB_OUTPUT", "a") as fid:
402402
fid.write(f"{name}={value}\n")
403403

404404

0 commit comments

Comments
 (0)