Skip to content

Commit e57f113

Browse files
committed
chore(ci): 注释自动更新工作流中的哈希校验步骤
- 注释掉内容哈希差异检查相关的步骤 - 避免因参数过长导致的执行问题 - 保留步骤代码以备将来启用调整 - 保持依赖安装和后续流程不变
1 parent 85d1fca commit e57f113

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/auto-update.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,17 @@ jobs:
4242
- name: Install dependencies
4343
run: pnpm install
4444

45-
- name: Check if update is needed
46-
id: check-update
47-
run: |
48-
# 使用TypeScript脚本进行哈希差异检查,避免shell参数过长问题
49-
if pnpm run diff-hash; then
50-
echo "No update needed, content hash is the same"
51-
echo "skip=true" >> $GITHUB_OUTPUT
52-
else
53-
echo "Update needed, content hash is different or error occurred"
54-
echo "skip=false" >> $GITHUB_OUTPUT
55-
fi
45+
# - name: Check if update is needed
46+
# id: check-update
47+
# run: |
48+
# # 使用TypeScript脚本进行哈希差异检查,避免shell参数过长问题
49+
# if pnpm run diff-hash; then
50+
# echo "No update needed, content hash is the same"
51+
# echo "skip=true" >> $GITHUB_OUTPUT
52+
# else
53+
# echo "Update needed, content hash is different or error occurred"
54+
# echo "skip=false" >> $GITHUB_OUTPUT
55+
# fi
5656

5757
- name: Fetch USB IDs
5858
if: steps.check-update.outputs.skip != 'true'

0 commit comments

Comments
 (0)