diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c7eb094..7d4e71e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -53,10 +53,10 @@ jobs: run: | if cmp -s .github/workflows/main.yml <(git show upstream/main:.github/workflows/main.yml); then echo "main.yml file is consistent" - echo "::set-output name=MAIN_YML_FILES_INCONSISTENT::False" + echo "MAIN_YML_FILES_INCONSISTENT=False" >> $GITHUB_OUTPUT else echo "main.yml file is inconsistent" - echo "::set-output name=MAIN_YML_FILES_INCONSISTENT::True" + echo "MAIN_YML_FILES_INCONSISTENT=True" >> $GITHUB_OUTPUT fi # 定义备份和还原的文件后缀列表 @@ -175,7 +175,7 @@ jobs: echo "Workflow Name: $GITHUB_WORKFLOW" echo "Workflow Number: $GITHUB_RUN_NUMBER" echo "Workflow ID: $GITHUB_RUN_ID" - echo "Beijing Time: $BEIJING_TIME" # | tee time.txt 去掉注释后可将时间写入文件 + echo "Beijing Time: $BEIJING_TIME" # 删除__pycache__文件夹 - name: Delete __pycache__ folder