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 6754942 commit 2318b43Copy full SHA for 2318b43
entrypoint.py
@@ -52,10 +52,11 @@ def main() -> None:
52
print(feedback)
53
54
# Write the feedback to the environment file
55
- if os.getenv('GITHUB_OUTPUT', False):
56
- with open(os.environ['GITHUB_OUTPUT'], 'a', encoding='utf-8') as f:
57
- out_string = f'feedback<<EOF\n{feedback}\nEOF'
58
- logging.info(f"Writing to GITHUB_OUTPUT: {f.write(out_string)} characters")
+ if os.getenv('GITHUB_STEP_SUMMARY', False):
+ with open(os.environ['GITHUB_STEP_SUMMARY'], 'a', encoding='utf-8') as f:
+ # Write the feedback to the Gihtub Job Summary
+ # expecting mardown format
59
+ f.write(feedback)
60
61
if not b_fail_expected:
62
assert n_failed == 0, f'{n_failed} failed tests'
0 commit comments