ci: use .txt files instead of .log file for better preview

This commit is contained in:
Fu Hanxi
2022-10-28 13:21:27 +08:00
parent 57f6733160
commit 7bb4aea90e
7 changed files with 17 additions and 16 deletions

View File

@@ -30,7 +30,7 @@ _COLOR_CODES = {
def _get_log_file_name():
if Env.Env.CURRENT_LOG_FOLDER:
file_name = os.path.join(Env.Env.CURRENT_LOG_FOLDER, 'console.log')
file_name = os.path.join(Env.Env.CURRENT_LOG_FOLDER, 'console.txt')
else:
raise OSError('env log folder does not exist, will not save to log file')
return file_name