Skip to content

Commit 64b758b

Browse files
committed
use correct name for GITHUB_STEP_SUMMARY
1 parent 9c3795c commit 64b758b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app_tests/integration_tests/llm/cpu_llm_server_test.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ def test_llm_server(llm_server, available_port):
8787
logger.info("::group::Sending HTTP Generation Request")
8888
output = do_generate(PROMPT, available_port)
8989
# log to GITHUB_STEP_SUMMARY if we are in a GitHub Action
90-
# using equivalent of echo "{name}={value}" >> "$GITHUB_OUTPUT"
9190
if "GITHUB_ACTION" in os.environ:
92-
with open(os.environ["GITHUB_OUTPUT"], "a") as f:
91+
with open(os.environ["GITHUB_STEP_SUMMARY"], "a") as f:
9392
# log prompt
93+
f.write("LLM results:\n")
9494
f.write(f"- llm_prompt:`{PROMPT}`\n")
9595
f.write(f"- llm_output:`{output}`\n")
9696
logger.info(output)

0 commit comments

Comments
 (0)