Changed more set-output lines.

This commit is contained in:
Patrick Lehmann
2022-11-03 07:00:05 +01:00
parent e40d45fcaa
commit a64e575bdd
3 changed files with 19 additions and 13 deletions

View File

@@ -115,8 +115,13 @@ jobs:
else:
print(f"File '{coverageRCFile}' not found.")
print(f"::set-output name=coverage_report_html_directory::{htmlDirectory}")
print(f"::set-output name=coverage_report_xml::{xmlFile}")
# Write jobs to special file
github_output = Path(getenv("GITHUB_OUTPUT"))
print(f"GITHUB_OUTPUT: {github_output}")
with github_output.open("a+") as f:
f.write(f"coverage_report_html_directory={htmlDirectory}\n")
f.write(f"coverage_report_xml={xmlFile}\n")
print(f"DEBUG:\n html={htmlDirectory}\n xml={xmlFile}")
- name: Collect coverage