This commit is contained in:
NianBroken
2024-02-14 17:34:28 +08:00 Unverified
parent ea9082ed62
commit 5a808ebd69
+3 -3
View File
@@ -53,10 +53,10 @@ jobs:
run: | run: |
if cmp -s .github/workflows/main.yml <(git show upstream/main:.github/workflows/main.yml); then if cmp -s .github/workflows/main.yml <(git show upstream/main:.github/workflows/main.yml); then
echo "main.yml file is consistent" echo "main.yml file is consistent"
echo "::set-output name=MAIN_YML_FILES_INCONSISTENT::False" echo "MAIN_YML_FILES_INCONSISTENT=False" >> $GITHUB_OUTPUT
else else
echo "main.yml file is inconsistent" echo "main.yml file is inconsistent"
echo "::set-output name=MAIN_YML_FILES_INCONSISTENT::True" echo "MAIN_YML_FILES_INCONSISTENT=True" >> $GITHUB_OUTPUT
fi fi
# 定义备份和还原的文件后缀列表 # 定义备份和还原的文件后缀列表
@@ -175,7 +175,7 @@ jobs:
echo "Workflow Name: $GITHUB_WORKFLOW" echo "Workflow Name: $GITHUB_WORKFLOW"
echo "Workflow Number: $GITHUB_RUN_NUMBER" echo "Workflow Number: $GITHUB_RUN_NUMBER"
echo "Workflow ID: $GITHUB_RUN_ID" echo "Workflow ID: $GITHUB_RUN_ID"
echo "Beijing Time: $BEIJING_TIME" # | tee time.txt 去掉注释后可将时间写入文件 echo "Beijing Time: $BEIJING_TIME"
# 删除__pycache__文件夹 # 删除__pycache__文件夹
- name: Delete __pycache__ folder - name: Delete __pycache__ folder