From dbc5a95651e85304a567efafb32ff5d5bb6fcfc7 Mon Sep 17 00:00:00 2001 From: NianBroken Date: Wed, 7 Feb 2024 22:22:21 +0800 Subject: [PATCH] add --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index fa03ed8..6a2c674 100644 --- a/main.py +++ b/main.py @@ -393,8 +393,8 @@ if run_log: github_step_summary_run_log = re.sub("\n+", "\n\n", github_step_summary_run_log) # 将 github_step_summary_run_log 写入到 GitHub Actions 的环境文件中 -with open(github_step_summary, "w", encoding="utf-8") as file: - file.write(github_step_summary_run_log) + with open(github_step_summary, "w", encoding="utf-8") as file: + file.write(github_step_summary_run_log) # 删除 __pycache__ 缓存目录及其内容 current_directory = os.getcwd()