试着加个这玩意 Fix | 应该是 r+ auto update with Gitea Actions 尝试一些新东西( 我的问题( auto update with Gitea Actions 2? 待会得 squash了 auto update with Gitea Actions 好好好 now? auto update with Gitea Actions 是这样? reeee 好好好 再试一次 得了,新建一个分支吧 try try 忘记 push -f 了(
13 lines
323 B
Python
13 lines
323 B
Python
import time
|
|
|
|
|
|
with open('test.md', 'r+', encoding='utf-8') as md_file:
|
|
md = md_file.read()
|
|
print(md)
|
|
|
|
md_file.write('hello action!')
|
|
md_file.write(f'greeting from {time.time()}\n')
|
|
date_time = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
|
|
md_file.write(date_time)
|
|
md_file.write('\n')
|