Update
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user