Skip to content

Commit

Permalink
set-output command refactor - command deprecation warning resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
niwciu committed Sep 4, 2024
1 parent ea767fb commit 6284415
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ def surround_double_quotes(x: str):
with open(args.cli_output_file, mode="w") as f:
f.write(result.stdout)

print("::set-output name=cli_output_path::" + str(args.cli_output_file))
print("cli_output_path=" + str(args.cli_output_file) + ">> $GITHUB_OUTPUT")
if output_file_flag:
print("::set-output name=result_output_path::" + str(output_file_path))
print("result_output_path=" + str(output_file_path)+ ">> $GITHUB_OUTPUT")

sys.exit(result.returncode)

0 comments on commit 6284415

Please sign in to comment.