This commit is contained in:
NianBroken
2024-02-13 19:35:35 +08:00 Unverified
parent 7a1a9ebf37
commit 6a9578a60b
+3
View File
@@ -55,8 +55,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"
export MAIN_YML_FILES_INCONSISTENT="False"
else else
echo "main.yml file is inconsistent" echo "main.yml file is inconsistent"
export MAIN_YML_FILES_INCONSISTENT="True"
fi fi
# 定义备份和还原的文件后缀列表 # 定义备份和还原的文件后缀列表
@@ -127,6 +129,7 @@ jobs:
fi fi
# 方便通过截图快速定位到用户 # 方便通过截图快速定位到用户
echo "Force Push Message: $FORCE_PUSH_MESSAGE" echo "Force Push Message: $FORCE_PUSH_MESSAGE"
echo "main.yml Files Inconsistent: $MAIN_YML_FILES_INCONSISTENT"
echo "Triggered By: ${{ github.event_name }}" echo "Triggered By: ${{ github.event_name }}"
echo "Run By: ${{ github.triggering_actor }}" echo "Run By: ${{ github.triggering_actor }}"
echo "Repository Name: ${{ github.repository }}" echo "Repository Name: ${{ github.repository }}"